Closed rquadling closed 1 year 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!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
ignore_changes
entry in thelifecycle
block would experience the same issue.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
Expected Behavior
Output whatever the assigned default is in the .tf file, which in this example should be:
Actual Behavior
The value outputted by
terraform show
(afterterraform import
) is the value I had manually assigned to the Parameter Store entry and was expecting to never see in the tfstate.Steps to Reproduce
As this relates to
terraform import
and thenterraform show
, you'll need a pre-existing SSM Parameter Store entry. For the issue I'm reporting, I've created one called/PRIVATE/KEY
with a value ofdummy
.When executing:
the output should be something other than the value in the SSM Parameter Store. As I've said in the .tf file, the value is
""
, then that would be what I would expect to see in the output of theterraform show
command.Important Factoids
References
2570 mentions this issue (different resources but fundamentally the same issue)