Skip to content

terraform 0.12 planfile support #44

@frealmyr

Description

@frealmyr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions