-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support AWS Provider V5 * Bump tf * Bump tf * bump vpc * bump subnets * bump vpc * bump vpc * bump vpc * bump subnets * fix tests
- Loading branch information
Showing
8 changed files
with
32 additions
and
38 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
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
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,5 +1,5 @@ | ||
terraform { | ||
required_version = ">= 0.13" | ||
required_version = ">= 1.0" | ||
|
||
required_providers { | ||
aws = { | ||
|
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,69 +1,64 @@ | ||
output "launch_template_id" { | ||
description = "The ID of the launch template" | ||
value = join("", aws_launch_template.default.*.id) | ||
value = one(aws_launch_template.default[*].id) | ||
} | ||
|
||
output "launch_template_arn" { | ||
description = "The ARN of the launch template" | ||
value = join("", aws_launch_template.default.*.arn) | ||
value = one(aws_launch_template.default[*].arn) | ||
} | ||
|
||
output "autoscaling_group_id" { | ||
description = "The AutoScaling Group id" | ||
value = join("", aws_autoscaling_group.default.*.id) | ||
value = one(aws_autoscaling_group.default[*].id) | ||
} | ||
|
||
output "autoscaling_group_name" { | ||
description = "The AutoScaling Group name" | ||
value = join("", aws_autoscaling_group.default.*.name) | ||
} | ||
|
||
output "autoscaling_group_tags" { | ||
description = "A list of tag settings associated with the AutoScaling Group" | ||
value = module.this.enabled ? aws_autoscaling_group.default[0].tags : [] | ||
value = one(aws_autoscaling_group.default[*].name) | ||
} | ||
|
||
output "autoscaling_group_arn" { | ||
description = "ARN of the AutoScaling Group" | ||
value = join("", aws_autoscaling_group.default.*.arn) | ||
value = one(aws_autoscaling_group.default[*].arn) | ||
} | ||
|
||
output "autoscaling_group_min_size" { | ||
description = "The minimum size of the autoscale group" | ||
value = join("", aws_autoscaling_group.default.*.min_size) | ||
value = one(aws_autoscaling_group.default[*].min_size) | ||
} | ||
|
||
output "autoscaling_group_max_size" { | ||
description = "The maximum size of the autoscale group" | ||
value = join("", aws_autoscaling_group.default.*.max_size) | ||
value = one(aws_autoscaling_group.default[*].max_size) | ||
} | ||
|
||
output "autoscaling_group_desired_capacity" { | ||
description = "The number of Amazon EC2 instances that should be running in the group" | ||
value = join("", aws_autoscaling_group.default.*.desired_capacity) | ||
value = one(aws_autoscaling_group.default[*].desired_capacity) | ||
} | ||
|
||
output "autoscaling_group_default_cooldown" { | ||
description = "Time between a scaling activity and the succeeding scaling activity" | ||
value = join("", aws_autoscaling_group.default.*.default_cooldown) | ||
value = one(aws_autoscaling_group.default[*].default_cooldown) | ||
} | ||
|
||
output "autoscaling_group_health_check_grace_period" { | ||
description = "Time after instance comes into service before checking health" | ||
value = join("", aws_autoscaling_group.default.*.health_check_grace_period) | ||
value = one(aws_autoscaling_group.default[*].health_check_grace_period) | ||
} | ||
|
||
output "autoscaling_group_health_check_type" { | ||
description = "`EC2` or `ELB`. Controls how health checking is done" | ||
value = join("", aws_autoscaling_group.default.*.health_check_type) | ||
value = one(aws_autoscaling_group.default[*].health_check_type) | ||
} | ||
|
||
output "autoscaling_policy_scale_down_arn" { | ||
description = "ARN of the AutoScaling policy scale down" | ||
value = join("", aws_autoscaling_policy.scale_down.*.arn) | ||
value = one(aws_autoscaling_policy.scale_down[*].arn) | ||
} | ||
|
||
output "autoscaling_policy_scale_up_arn" { | ||
description = "ARN of the AutoScaling policy scale up" | ||
value = join("", aws_autoscaling_policy.scale_up.*.arn) | ||
value = one(aws_autoscaling_policy.scale_up[*].arn) | ||
} |
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,5 +1,5 @@ | ||
terraform { | ||
required_version = ">= 0.13" | ||
required_version = ">= 1.0" | ||
|
||
required_providers { | ||
aws = { | ||
|