-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'immutable-optional-elb'
- Loading branch information
Showing
5 changed files
with
238 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
|
||
# Module directory | ||
.terraform/ | ||
.terraform.lock.hcl | ||
|
||
# Jetbrains | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,54 @@ | ||
output "bastion_host_security_group" { | ||
value = aws_security_group.bastion_host_security_group[*].id | ||
output "bastion_auto_scaling_group_name" { | ||
description = "The name of the Auto Scaling Group for bastion hosts" | ||
value = aws_autoscaling_group.bastion_auto_scaling_group.name | ||
} | ||
|
||
output "bucket_kms_key_alias" { | ||
value = aws_kms_alias.alias.name | ||
output "bastion_elb_id" { | ||
description = "The ID of the ELB for bastion hosts" | ||
value = aws_lb.bastion_lb.id | ||
} | ||
|
||
output "bucket_kms_key_arn" { | ||
value = aws_kms_key.key.arn | ||
output "bastion_host_security_group" { | ||
description = "The ID of the bastion host security group" | ||
value = aws_security_group.bastion_host_security_group[*].id | ||
} | ||
|
||
output "bucket_name" { | ||
value = aws_s3_bucket.bucket.id | ||
output "bucket_arn" { | ||
description = "The ARN of the S3 bucket" | ||
value = aws_s3_bucket.bucket.arn | ||
} | ||
|
||
output "bucket_arn" { | ||
value = aws_s3_bucket.bucket.arn | ||
output "bucket_kms_key_alias" { | ||
description = "The name of the KMS key alias for the bucket" | ||
value = aws_kms_alias.alias.name | ||
} | ||
|
||
output "elb_ip" { | ||
value = aws_lb.bastion_lb.dns_name | ||
output "bucket_kms_key_arn" { | ||
description = "The ARN of the KMS key for the bucket" | ||
value = aws_kms_key.key.arn | ||
} | ||
|
||
output "elb_arn" { | ||
value = aws_lb.bastion_lb.arn | ||
output "bucket_name" { | ||
description = "The ID of the S3 bucket" | ||
value = aws_s3_bucket.bucket.id | ||
} | ||
|
||
output "target_group_arn" { | ||
value = aws_lb_target_group.bastion_lb_target_group.arn | ||
output "elb_arn" { | ||
description = "The ARN of the ELB for bastion hosts" | ||
value = var.create_elb ? aws_lb.bastion_lb[0].arn : null | ||
} | ||
|
||
output "private_instances_security_group" { | ||
value = aws_security_group.private_instances_security_group.id | ||
output "elb_ip" { | ||
description = "The DNS name of the ELB for bastion hosts" | ||
value = var.create_elb ? aws_lb.bastion_lb[0].dns_name : null | ||
} | ||
|
||
output "bastion_auto_scaling_group_name" { | ||
value = aws_autoscaling_group.bastion_auto_scaling_group.name | ||
output "private_instances_security_group" { | ||
description = "The ID of the security group for private instances" | ||
value = aws_security_group.private_instances_security_group.id | ||
} | ||
|
||
output "bastion_elb_id" { | ||
value = aws_lb.bastion_lb.id | ||
output "target_group_arn" { | ||
description = "The ARN of the target group for the ELB" | ||
value = var.create_elb ? aws_lb_target_group.bastion_lb_target_group[0].arn : null | ||
} |
Oops, something went wrong.