File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ ## 1.1.0
2+
3+ - Add output for Autoscaling Group name via ` container_instance_autoscaling_group_name ` .
4+
15## 1.0.0
26
37- Renames ` cloud_config ` to ` cloud_config_content ` .
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module "container_service_cluster" {
2020 ami_id = "ami-b2df2ca4"
2121 instance_type = "t2.micro"
2222 key_name = "hector"
23- cloud_config = "${data.template_file.container_instance_cloud_config.rendered}"
23+ cloud_config_content = "${data.template_file.container_instance_cloud_config.rendered}"
2424
2525 root_block_device_type = "gp2"
2626 root_block_device_size = "10"
@@ -94,3 +94,4 @@ module "container_service_cluster" {
9494- ` ecs_service_role_arn ` - ARN of IAM role for use with ECS services
9595- ` ecs_autoscale_role_arn ` - ARN of IAM role for use with ECS service autoscaling
9696- ` container_instance_ecs_for_ec2_service_role_arn ` - ARN of IAM role associated with EC2 container instances
97+ - ` container_instance_autoscaling_group_name ` - Name of container instance Autoscaling Group
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ output "ecs_autoscale_role_name" {
2222 value = " ${ aws_iam_role . ecs_autoscale_role . name } "
2323}
2424
25+ output "container_instance_autoscaling_group_name" {
26+ value = " ${ aws_autoscaling_group . container_instance . name } "
27+ }
28+
2529output "ecs_service_role_arn" {
2630 value = " ${ aws_iam_role . ecs_service_role . arn } "
2731}
You can’t perform that action at this time.
0 commit comments