-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: Provider producing inconsistent final plan - aws_s3_bucket and default_tags at provider #30801
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Seeing a similar error:
Our code is open source and visible here: https://github.com/civiform/cloud-deploy-infra/blob/main/cloud/aws/templates/aws_oidc/filestorage.tf#L95 |
we have done work to allow resource It is still not possible to have The following configuration will be possible in provider "aws" {
region = "us-west-2"
default_tags {
tags = {
key1 = "value1"
}
}
resource "aws_s3_bucket" "example" {
bucket = "example-bucket"
tags = {
created_at = timestamp()
}
} However, the follow will still not compute correctly because provider "aws" {
region = "us-west-2"
default_tags {
tags = {
created_at = timestamp()
}
}
}
resource "aws_s3_bucket" "example" {
bucket = "example-bucket"
tags = {
additional_tag = "value"
}
} |
Related update - the |
This functionality has been released in v5.40.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Terraform Core Version
1.4.2
AWS Provider Version
4.63.0
Affected Resource(s)
aws_s3_bucket
Expected Behavior
S3 bucket should be able to be created when default_tags are configured at provider level.
Actual Behavior
Run errors during apply phase.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
terraform init
terraform apply-auto-approve
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
#29842
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: