Skip to content

Commit

Permalink
examples
Browse files Browse the repository at this point in the history
  • Loading branch information
edbizarro committed Apr 2, 2019
1 parent a3bcc24 commit 2639ec1
Show file tree
Hide file tree
Showing 9 changed files with 116 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/basic/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,23 @@ output "webserver_public_ip" {
description = "Public IP address for the Airflow Webserver instance"
value = "${module.airflow_cluster.webserver_public_ip}"
}

output "this_cluster_security_group_id" {
description = "The ID of the security group"
value = "${module.airflow_cluster.this_cluster_security_group_id}"
}

output "this_database_security_group_id" {
description = "The ID of the security group"
value = "${module.airflow_cluster.this_database_security_group_id}"
}

output "database_endpoint" {
description = "Endpoint to connect to RDS metadata DB"
value = "${module.airflow_cluster.database_endpoint}"
}

output "database_username" {
description = "Username to connect to RDS metadata DB"
value = "${module.airflow_cluster.database_username}"
}
4 changes: 4 additions & 0 deletions examples/custom_env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Note that this example may create resources which cost money. Run `terraform des

| Name | Description |
|------|-------------|
| database\_endpoint | Endpoint to connect to RDS metadata DB |
| database\_username | Username to connect to RDS metadata DB |
| this\_cluster\_security\_group\_id | The ID of the security group |
| this\_database\_security\_group\_id | The ID of the security group |
| webserver\_admin\_url | Public DNS for the Airflow Webserver instance |
| webserver\_public\_ip | Public IP address for the Airflow Webserver instance |

Expand Down
20 changes: 20 additions & 0 deletions examples/custom_env/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,23 @@ output "webserver_public_ip" {
description = "Public IP address for the Airflow Webserver instance"
value = "${module.airflow_cluster.webserver_public_ip}"
}

output "this_cluster_security_group_id" {
description = "The ID of the security group"
value = "${module.airflow_cluster.this_cluster_security_group_id}"
}

output "this_database_security_group_id" {
description = "The ID of the security group"
value = "${module.airflow_cluster.this_database_security_group_id}"
}

output "database_endpoint" {
description = "Endpoint to connect to RDS metadata DB"
value = "${module.airflow_cluster.database_endpoint}"
}

output "database_username" {
description = "Username to connect to RDS metadata DB"
value = "${module.airflow_cluster.database_username}"
}
4 changes: 4 additions & 0 deletions examples/deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ ansible-playbook --inventory-file=/usr/local/bin/terraform-inventory --ssh-commo

| Name | Description |
|------|-------------|
| database\_endpoint | Endpoint to connect to RDS metadata DB |
| database\_username | Username to connect to RDS metadata DB |
| this\_cluster\_security\_group\_id | The ID of the security group |
| this\_database\_security\_group\_id | The ID of the security group |
| webserver\_admin\_url | Public DNS for the Airflow Webserver instance |
| webserver\_public\_ip | Public IP address for the Airflow Webserver instance |

Expand Down
20 changes: 20 additions & 0 deletions examples/deploy/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,23 @@ output "webserver_public_ip" {
description = "Public IP address for the Airflow Webserver instance"
value = "${module.airflow_cluster.webserver_public_ip}"
}

output "this_cluster_security_group_id" {
description = "The ID of the security group"
value = "${module.airflow_cluster.this_cluster_security_group_id}"
}

output "this_database_security_group_id" {
description = "The ID of the security group"
value = "${module.airflow_cluster.this_database_security_group_id}"
}

output "database_endpoint" {
description = "Endpoint to connect to RDS metadata DB"
value = "${module.airflow_cluster.database_endpoint}"
}

output "database_username" {
description = "Username to connect to RDS metadata DB"
value = "${module.airflow_cluster.database_username}"
}
4 changes: 4 additions & 0 deletions examples/rbac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Note that this example may create resources which cost money. Run `terraform des

| Name | Description |
|------|-------------|
| database\_endpoint | Endpoint to connect to RDS metadata DB |
| database\_username | Username to connect to RDS metadata DB |
| this\_cluster\_security\_group\_id | The ID of the security group |
| this\_database\_security\_group\_id | The ID of the security group |
| webserver\_admin\_url | Public DNS for the Airflow Webserver instance |
| webserver\_public\_ip | Public IP address for the Airflow Webserver instance |

Expand Down
20 changes: 20 additions & 0 deletions examples/rbac/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,23 @@ output "webserver_public_ip" {
description = "Public IP address for the Airflow Webserver instance"
value = "${module.airflow_cluster.webserver_public_ip}"
}

output "this_cluster_security_group_id" {
description = "The ID of the security group"
value = "${module.airflow_cluster.this_cluster_security_group_id}"
}

output "this_database_security_group_id" {
description = "The ID of the security group"
value = "${module.airflow_cluster.this_database_security_group_id}"
}

output "database_endpoint" {
description = "Endpoint to connect to RDS metadata DB"
value = "${module.airflow_cluster.database_endpoint}"
}

output "database_username" {
description = "Username to connect to RDS metadata DB"
value = "${module.airflow_cluster.database_username}"
}
4 changes: 4 additions & 0 deletions examples/requirements/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Note that this example may create resources which cost money. Run `terraform des

| Name | Description |
|------|-------------|
| database\_endpoint | Endpoint to connect to RDS metadata DB |
| database\_username | Username to connect to RDS metadata DB |
| this\_cluster\_security\_group\_id | The ID of the security group |
| this\_database\_security\_group\_id | The ID of the security group |
| webserver\_admin\_url | Public DNS for the Airflow Webserver instance |
| webserver\_public\_ip | Public IP address for the Airflow Webserver instance |

Expand Down
20 changes: 20 additions & 0 deletions examples/requirements/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,23 @@ output "webserver_public_ip" {
description = "Public IP address for the Airflow Webserver instance"
value = "${module.airflow_cluster.webserver_public_ip}"
}

output "this_cluster_security_group_id" {
description = "The ID of the security group"
value = "${module.airflow_cluster.this_cluster_security_group_id}"
}

output "this_database_security_group_id" {
description = "The ID of the security group"
value = "${module.airflow_cluster.this_database_security_group_id}"
}

output "database_endpoint" {
description = "Endpoint to connect to RDS metadata DB"
value = "${module.airflow_cluster.database_endpoint}"
}

output "database_username" {
description = "Username to connect to RDS metadata DB"
value = "${module.airflow_cluster.database_username}"
}

0 comments on commit 2639ec1

Please sign in to comment.