Hi,
0.8.5
resource "aws_directory_service_directory" "test" {
type = "MicrosoftAD"
name = "test.test"
short_name = "TESTAD"
password = "ohnomypassword"
vpc_settings {
vpc_id = "vpc-00000000"
subnet_ids = ["subnet-00000001", "subnet-00000002"]
}
}
Where passwords are not retrievable I question the need to have them in the state file?
Terraform also prints the password out in the plan.
Password is stored plan-text in state.
I couldn't find any other reference to this.
Hi @agarstang
Thanks for the issue report here - thanks to @radeksimko, this will now be marked as sensitive in the state as of Terraform 0.9.3 :)
Paul
Just to be clear, the password will remain stored as plain-text in the state, but won't be displayed in plan or apply output anymore. Sensitive data in the state file is more of a generic topic which we plan to address better at some point in the future. See https://www.terraform.io/docs/state/sensitive-data.html for more details
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.