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.86k stars 9.2k forks source link

Imported `aws_cognito_user_pool` with no tags causes update in plan #11392

Open gdavison opened 4 years ago

gdavison commented 4 years ago

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

Affected Resource

Expected Behavior

There should be no diff in the plan

Actual Behavior

There is a diff in the plan

justinretzolk commented 3 years ago

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?

github-actions[bot] commented 1 week ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!