generated from aws-ia/terraform-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 56
/
outputs.tf
39 lines (32 loc) · 1.21 KB
/
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
30
31
32
33
34
35
36
37
38
39
output "mwaa_webserver_url" {
description = "The webserver URL of the MWAA Environment"
value = aws_mwaa_environment.mwaa.webserver_url
}
output "mwaa_arn" {
description = "The ARN of the MWAA Environment"
value = aws_mwaa_environment.mwaa.arn
}
output "mwaa_service_role_arn" {
description = "The Service Role ARN of the Amazon MWAA Environment"
value = aws_mwaa_environment.mwaa.service_role_arn
}
output "mwaa_status" {
description = "The status of the Amazon MWAA Environment"
value = aws_mwaa_environment.mwaa.status
}
output "mwaa_role_arn" {
description = "IAM Role ARN of the MWAA Environment"
value = var.execution_role_arn == null ? aws_iam_role.mwaa[0].arn : ""
}
output "mwaa_role_name" {
description = "IAM role name of the MWAA Environment"
value = var.execution_role_arn == null ? aws_iam_role.mwaa[0].id : ""
}
output "mwaa_security_group_id" {
description = "Security group id of the MWAA Environment"
value = var.create_security_group == true ? aws_security_group.mwaa[0].id : ""
}
output "aws_s3_bucket_name" {
description = "S3 bucket Name of the MWAA Environment"
value = var.source_bucket_arn == null ? aws_s3_bucket.mwaa[0].id : ""
}