Perma-diff on aws_opsworks_stack custom cookbooks source password #176
Labels
bug
Addresses a defect in current functionality.
good first issue
Call to action for new contributors looking for a place to start. Smaller or straightforward issues.
service/opsworks
Issues and PRs that pertain to the opsworks service.
Milestone
This issue was originally opened by @apparentlymart as hashicorp/terraform#6826. It was migrated here as part of the provider split. The original body of the issue is below.
In hashicorp/terraform#6203 I tried to fix a perma-diff issue caused by Opsworks returning the password as literally
"*****FILTERED*****"
.However, that fix was not adequate: the function changed by that patch is building an entirely new custom cookbooks source structure, so now the password is being saved as the empty string. To get rid of this perma-diff we need to copy the old value into the new mapping before assigning the new mapping to the resource data.
The text was updated successfully, but these errors were encountered: