Skip to content

Commit

Permalink
Bump the AWS Terraform provider version to 4.9
Browse files Browse the repository at this point in the history
This agrees with the changes in cisagov/skeleton-tf-module#188.
  • Loading branch information
jsf9k committed Dec 8, 2023
1 parent 1a4f90e commit d4f771a
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 d4f771a

Please sign in to comment.