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

AWS Provider 'Region" Argument Converted to Read-Only Attribute #19

Closed
4 tasks
Jakeasaurus opened this issue Aug 3, 2020 · 2 comments
Closed
4 tasks
Assignees
Labels

Comments

@Jakeasaurus
Copy link

Region No Longer S3 Argument

Region no longer an argument of the s3 bucket resource as of version 3.0.0 of the Terraform AWS provider.

AWS Provider Changelog
https://github.com/terraform-providers/terraform-provider-aws/blob/master/CHANGELOG.md

Commit #14127
hashicorp/terraform-provider-aws#14127

What this Means
You will see errors like this when your plan runs
image

These errors can be fixed by removing this argument from your code
region = var.aws_region

Impacted Modules

  1. S3 Modules
  2. Cloudtrail Modules

Next Steps:

  • Create issue in terraform-modules
  • Remove region argument from S3 module in terraform-modules
  • Remove var.region variable from S3 module in terraform-modules
  • Check to see if region argument and variable need to be removed from the cloudtrail module
@Jakeasaurus Jakeasaurus added the bug label Aug 3, 2020
tgallagher91 added a commit that referenced this issue Aug 6, 2020
removed region variable and arguments from s3 module to resolve issue #19
@tgallagher91
Copy link
Contributor

published new branch and pull request to resolve.

@tgallagher91
Copy link
Contributor

issue resolved by removing region arguments and variables from s3 and cloudtrail modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants