forked from PowerDataHub/terraform-aws-airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
29 lines (24 loc) · 966 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
output "this_cluster_security_group_id" {
description = "The ID of the security group"
value = "${module.sg_airflow.this_security_group_id}"
}
output "this_database_security_group_id" {
description = "The ID of the security group"
value = "${module.sg_database.this_security_group_id}"
}
output "webserver_admin_url" {
description = "Url for the Airflow Webserver Admin"
value = "http://${aws_instance.airflow_webserver.0.public_dns}:${var.webserver_port}"
}
output "webserver_public_ip" {
description = "Public IP address for the Airflow Webserver instance"
value = ["${aws_instance.airflow_webserver.*.public_ip}"]
}
output "database_endpoint" {
description = "Endpoint to connect to RDS metadata DB"
value = "${aws_db_instance.airflow_database.endpoint}"
}
output "database_username" {
description = "Username to connect to RDS metadata DB"
value = "${aws_db_instance.airflow_database.username}"
}