-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Update supported Terraform min version to v1.0+ and AWS provid…
…er to v4.0+ (#45)
- Loading branch information
1 parent
0314876
commit 4702d67
Showing
15 changed files
with
63 additions
and
43 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: 'Lock Threads' | ||
|
||
on: | ||
schedule: | ||
- cron: '50 1 * * *' | ||
|
||
jobs: | ||
lock: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/lock-threads@v3 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-comment: > | ||
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues. | ||
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. | ||
issue-inactive-days: '30' | ||
pr-comment: > | ||
I'm going to lock this pull request because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues. | ||
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. | ||
pr-inactive-days: '30' |
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
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,39 +1,39 @@ | ||
output "elb_id" { | ||
description = "The name of the ELB" | ||
value = concat(aws_elb.this.*.id, [""])[0] | ||
value = try(aws_elb.this[0].id, "") | ||
} | ||
|
||
output "elb_arn" { | ||
description = "The ARN of the ELB" | ||
value = concat(aws_elb.this.*.arn, [""])[0] | ||
value = try(aws_elb.this[0].arn, "") | ||
} | ||
|
||
output "elb_name" { | ||
description = "The name of the ELB" | ||
value = concat(aws_elb.this.*.name, [""])[0] | ||
value = try(aws_elb.this[0].name, "") | ||
} | ||
|
||
output "elb_dns_name" { | ||
description = "The DNS name of the ELB" | ||
value = concat(aws_elb.this.*.dns_name, [""])[0] | ||
value = try(aws_elb.this[0].dns_name, "") | ||
} | ||
|
||
output "elb_instances" { | ||
description = "The list of instances in the ELB" | ||
value = flatten(aws_elb.this.*.instances) | ||
value = flatten(aws_elb.this[*].instances) | ||
} | ||
|
||
output "elb_source_security_group" { | ||
description = "The name of the security group that you can use as part of your inbound rules for your load balancer's back-end application instances. Use this for Classic or Default VPC only." | ||
value = concat(aws_elb.this.*.source_security_group, [""])[0] | ||
value = try(aws_elb.this[0].source_security_group, "") | ||
} | ||
|
||
output "elb_source_security_group_id" { | ||
description = "The ID of the security group that you can use as part of your inbound rules for your load balancer's back-end application instances. Only available on ELBs launched in a VPC." | ||
value = concat(aws_elb.this.*.source_security_group_id, [""])[0] | ||
value = try(aws_elb.this[0].source_security_group_id, "") | ||
} | ||
|
||
output "elb_zone_id" { | ||
description = "The canonical hosted zone ID of the ELB (to be used in a Route 53 Alias record)" | ||
value = concat(aws_elb.this.*.zone_id, [""])[0] | ||
value = try(aws_elb.this[0].zone_id, "") | ||
} |
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,10 +1,10 @@ | ||
terraform { | ||
required_version = ">= 0.12.26" | ||
required_version = ">= 1.0" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 2.20" | ||
version = ">= 4.0" | ||
} | ||
} | ||
} |
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,10 +1,10 @@ | ||
terraform { | ||
required_version = ">= 0.12.26" | ||
required_version = ">= 1.0" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 2.20" | ||
version = ">= 4.0" | ||
} | ||
} | ||
} |
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,10 +1,10 @@ | ||
terraform { | ||
required_version = ">= 0.12.26" | ||
required_version = ">= 1.0" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 2.20" | ||
version = ">= 4.0" | ||
} | ||
} | ||
} |