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.6k stars 8.99k 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 2 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?