-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ASG rolling deploy モジュール, ALB モジュールから出力を追加
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
ch8.production-grade-infrastructure/modules/cluster/asg-rolling-deploy/outputs.tf
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
output "asg_name" { | ||
description = "name of th ASG" | ||
value = aws_autoscaling_group.example.name | ||
} | ||
|
||
output "instance_security_group_id" { | ||
description = "ID of EC2 instance SG" | ||
value = aws_security_group.instance.id | ||
} |
14 changes: 14 additions & 0 deletions
14
ch8.production-grade-infrastructure/modules/networking/alb/outputs.tf
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
output "alb_dns_name" { | ||
description = "Domain of ALB" | ||
value = aws_alb.example.dns_name | ||
} | ||
|
||
output "alb_http_listener_arn" { | ||
description = "ARN of the HTTP listener" | ||
value = aws_alb_listener.http.arn | ||
} | ||
|
||
output "alb_security_group_id" { | ||
description = "ALB SG ID" | ||
value = aws_security_group.alb.id | ||
} |