Open codingeologist opened 3 months ago
Voting for Prioritization
Volunteering to Work on This Issue
I think not only s3 creation is impacted, I've encountered this with batch_job / aws_cloudwatch_event_target
β Error: Provider produced inconsistent final plan
β
β When expanding the plan for aws_cloudwatch_event_target.<job_name>
β to include new values learned so far during apply, provider
β "registry.terraform.io/hashicorp/aws" produced an invalid new value for
β .batch_target[0].job_definition: was
β cty.StringVal("arn:aws:batch:<region>:<number>:job-definition/<job_name>:1088"),
β but now
β cty.StringVal("arn:aws:batch:<region>:<number>:job-definition/<job_name>:1089")
Got the same issue as well on terraform 1.8.1 aws provider version 5.46.0.
Error: Provider produced inconsistent final plan
When expanding the plan for module.this.module.lambda.aws_lambda_function.this[0] to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an invalid new value for .source_code_hash: was cty.StringVal("41wsmvoFXOT5wephygDO95Fk44MixQfMPKmR4yPnqco="), but now cty.StringVal("8EqPeruhgrPSBwr7J8dcMo5Y3/em/qBwim8ixAOlmbs=").
This is a bug in the provider, which should be reported in the provider's own issue tracker.
Using https://github.com/terraform-aws-modules/terraform-aws-notify-slack terraform module.
I encountered the same and was able to workaround by pinning to version "5.43.0"
Facing the same issue. None of the solutions here work. Is there any update on this? It is really important :(
Terraform Core Version
1.5.6
AWS Provider Version
5.44.0
Affected Resource(s)
aws_s3_object
This is a bug in the provider, which should be reported in the provider's own issue tracker.
Expected Behavior
the S3 object is updated with the new zip
Actual Behavior
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
create s3 object with a zip file to be updated with a new zip file on terraform apply
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None