WHAT
Running terraform plan -out=planfile, and then in a later step terraform plan planfile | tfnotify plan no longer works in Terraform >=0.12
WHY
After Terraform 0.12 #19235 it is no longer possible to pass a saved plan file to terraform plan.
When attempting to pass terraform plan planfile to tfnotify, terraform throws the following error:
Error: Invalid configuration directory
Cannot pass a saved plan file to the 'terraform plan' command. To apply a
saved plan, use: terraform apply terraform-shared.plan
WHAT
Running
terraform plan -out=planfile, and then in a later stepterraform plan planfile | tfnotify planno longer works in Terraform >=0.12WHY
After Terraform 0.12 #19235 it is no longer possible to pass a saved plan file to
terraform plan.When attempting to pass
terraform plan planfileto tfnotify, terraform throws the following error: