Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Terraform v1.0.0, use Dependabot #231

Merged
merged 2 commits into from
Jun 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,30 @@ updates:
interval: daily
target-branch: dev

# - package-ecosystem: terraform
# directory: '/terraform-iac/dev/app'
# schedule:
# interval: daily
# target-branch: dev

# - package-ecosystem: terraform
# directory: '/terraform-iac/dev/setup'
# schedule:
# interval: daily
# target-branch: dev
Comment on lines +25 to +35
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love the idea of getting 8 PRs whenever we need to update the AWS provider, but I can't think of a way around that until dependabot/dependabot-core#2178 is added.


- package-ecosystem: terraform
directory: '/terraform-iac/modules/app'
schedule:
interval: daily
yoshutch marked this conversation as resolved.
Show resolved Hide resolved
target-branch: dev

- package-ecosystem: terraform
directory: '/terraform-iac/modules/setup'
schedule:
interval: daily
target-branch: dev

# For each of these, requesting reviews from yourself makes Dependabot PRs easier to find (https://github.com/pulls/review-requested)
# reviewers:
# - "YourGitHubUsername"
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
types: [opened, reopened, synchronize, edited]
env:
node_version: "14.x"
tf_version: "0.14.7" # must match value in terraform-iac/*/app/main.tf
tf_version: "1.0.0" # must match value in terraform-iac/*/app/main.tf
FORCE_COLOR: 3

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [dev, stg, master]
env:
node_version: "14.x"
tf_version: "0.14.7" # must match value in terraform-iac/*/app/main.tf
tf_version: "1.0.0" # must match value in terraform-iac/*/app/main.tf
FORCE_COLOR: 3
concurrency: ${{ github.ref }}
jobs:
Expand Down
2 changes: 2 additions & 0 deletions terraform-iac/cpy/app/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform-iac/cpy/app/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "0.14.7"
required_version = "1.0.0"
backend "s3" {
bucket = "terraform-state-storage-539738229445"
dynamodb_table = "terraform-state-lock-539738229445"
Expand Down
1 change: 1 addition & 0 deletions terraform-iac/cpy/setup/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions terraform-iac/dev/app/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform-iac/dev/app/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "0.14.7"
required_version = "1.0.0"
backend "s3" {
bucket = "terraform-state-storage-977306314792"
dynamodb_table = "terraform-state-lock-977306314792"
Expand Down
3 changes: 2 additions & 1 deletion terraform-iac/dev/setup/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions terraform-iac/prd/app/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform-iac/prd/app/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "0.14.7"
required_version = "1.0.0"
backend "s3" {
bucket = "terraform-state-storage-539738229445"
dynamodb_table = "terraform-state-lock-539738229445"
Expand Down
1 change: 1 addition & 0 deletions terraform-iac/prd/setup/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions terraform-iac/stg/app/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform-iac/stg/app/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "0.14.7"
required_version = "1.0.0"
backend "s3" {
bucket = "terraform-state-storage-977306314792"
dynamodb_table = "terraform-state-lock-977306314792"
Expand Down
1 change: 1 addition & 0 deletions terraform-iac/stg/setup/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.