Skip to content

Commit

Permalink
Merge pull request #295 from cisagov/improvement/upgrade-aws-terrafor…
Browse files Browse the repository at this point in the history
…m-provider

Bump the AWS Terraform provider to version 4.9
  • Loading branch information
mcdonnnj authored Mar 7, 2024
2 parents 34cbea7 + 5e600a0 commit 602ca30
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
14 changes: 10 additions & 4 deletions terraform-build-user/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ terraform {
# major version currently being used. This practice will help us
# avoid unwelcome surprises.
required_providers {
# Version 3.38.0 of the Terraform AWS provider is the first
# version to support default tags.
# https://www.hashicorp.com/blog/default-tags-in-the-terraform-aws-provider
# Version 4.9 of the Terraform AWS provider made changes to the S3 bucket
# refactor that is in place for versions 4.0-4.8 of the provider. With v4.9
# only non-breaking changes and deprecation notices are introduced. Using
# this version will simplify migration to the new, broken out AWS S3 bucket
# configuration resources. Please see
# https://github.com/hashicorp/terraform-provider-aws/pull/23985
# for more information about the changes in v4.9 and
# https://www.hashicorp.com/blog/terraform-aws-provider-4-0-refactors-s3-bucket-resource
# for more information about the S3 bucket refactor.
aws = {
source = "hashicorp/aws"
version = "~> 3.38"
version = "~> 4.9"
}
}
}
14 changes: 10 additions & 4 deletions terraform-post-packer/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ terraform {
# major version currently being used. This practice will help us
# avoid unwelcome surprises.
required_providers {
# Version 3.38.0 of the Terraform AWS provider is the first
# version to support default tags.
# https://www.hashicorp.com/blog/default-tags-in-the-terraform-aws-provider
# Version 4.9 of the Terraform AWS provider made changes to the S3 bucket
# refactor that is in place for versions 4.0-4.8 of the provider. With v4.9
# only non-breaking changes and deprecation notices are introduced. Using
# this version will simplify migration to the new, broken out AWS S3 bucket
# configuration resources. Please see
# https://github.com/hashicorp/terraform-provider-aws/pull/23985
# for more information about the changes in v4.9 and
# https://www.hashicorp.com/blog/terraform-aws-provider-4-0-refactors-s3-bucket-resource
# for more information about the S3 bucket refactor.
aws = {
source = "hashicorp/aws"
version = "~> 3.38"
version = "~> 4.9"
}
}
}

0 comments on commit 602ca30

Please sign in to comment.