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

Imported aws_cognito_user_pool with no tags causes update in plan #11392

Open
gdavison opened this issue Dec 20, 2019 · 1 comment
Open

Imported aws_cognito_user_pool with no tags causes update in plan #11392

gdavison opened this issue Dec 20, 2019 · 1 comment
Labels
waiting-response Maintainers are waiting on response from community or contributor.

Comments

@gdavison
Copy link
Contributor

gdavison commented Dec 20, 2019

When importing a aws_cognito_user_pool with no tags into Terraform, a diff is generated in the plan. It doesn't force a change, but does show up if there are other changes.

The import operation is storing an empty map of tags, but the plan wants to update it to nil:

- tags = {} -> null

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Affected Resource

  • aws_cognito_user_pool

Expected Behavior

There should be no diff in the plan

Actual Behavior

There is a diff in the plan

@ghost ghost added the service/cognito label Dec 20, 2019
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Dec 20, 2019
@justinretzolk
Copy link
Member

Hey @gdavison! 👋 Thanks for taking the time to file this issue! Given that there's been a number of AWS provider releases since you initially filed it, can you confirm whether you're still experiencing this behavior?

@justinretzolk justinretzolk added waiting-response Maintainers are waiting on response from community or contributor. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-response Maintainers are waiting on response from community or contributor.
Projects
None yet
Development

No branches or pull requests

3 participants