aws_datasync_agent with activation_key is not idempotent #19947
Labels
bug
Addresses a defect in current functionality.
service/datasync
Issues and PRs that pertain to the datasync service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.14.11
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
N/A
Expected Behavior
After
terraform apply
, and thenterraform plan
, no diff should appear.Actual Behavior
terraform apply
itself succeeds, however a drift with replacement is detected as follows:Steps to Reproduce
aws_datasync_agent
withactivation_key
, notip_address
terraform apply
terraform plan
Important Factoids
References
btw resource name in https://github.com/hashicorp/terraform-provider-aws/pull/16207/files#diff-f934b36f3fe5b685db4381f7c9f77e790e65db91e86e7c8423cab27d050eb831 should be fixed from
aws_datasync_option
toaws_datasync_agent
The text was updated successfully, but these errors were encountered: