terraform
terraform copied to clipboard
terraform test: add support for validating plan diffs / attribute changes
Terraform Version
latest
Use Cases
I am using the terraform test
command released in the terraform 1.6.
Is there a way to check if there is a diff with the state file after executing terraform apply
command? I tried to run plan
after apply
, but the test command will return pass
when it is executed successfully. It doesn't realize that it's wrong to have these diffs.
Attempted Solutions
Does the current command support checking diff? Or will it be supported later?
Proposal
No response
References
No response