hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.73k stars 9.09k forks source link

[Bug]: Elastc Beanstalk issue with updating on v4.63.0 of provider #30812

Closed MarkRoss-Eviden closed 1 year ago

MarkRoss-Eviden commented 1 year ago

Terraform Core Version

1.3.7

AWS Provider Version

4.63.0

Affected Resource(s)

aws_elastic_beanstalk_application

Expected Behavior

Application should be able to be updated, as worked on previous version of the provider

Actual Behavior

Despite no changes to the Terraform code (only an updated zip file of app to be deployed) redployment which has been working fine now errors with 'Specify at least one of these parameters: TagsToAdd, TagsToRemove.'

Relevant Error/Panic Output Snippet

Error: updating tags for Elastic Beanstalk Application (arn removed for security): tagging resource (arn removed for security): MissingParameter: Specify at least one of these parameters: TagsToAdd, TagsToRemove.

Terraform Configuration Files

Cannot share

Steps to Reproduce

Create Elastic Beanstalk application with provider v4.61.0 then try and amend it with provider 4.63.0

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

ewbankkit commented 1 year ago

Relates https://github.com/hashicorp/terraform-provider-aws/pull/30533.

ewbankkit commented 1 year ago

I think it was a change from IgnoreAWS() to IgnoreElasticbeanstalk() in #30643 that caused this. We need to make sure that the resulting list of tags is not empty.

github-actions[bot] commented 1 year ago

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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.