Skip to content

Erroneous "Plan has changed" in terraform v2 orb apply #607

@Mark-Wood

Description

@Mark-Wood

Since v2.5 of the terraform v2 orb, the plan generated at the apply step doesn't match the one generated in the plan.

It seems the plan pulled from the Github PR is appended with aaa\n---aaa, whereas the one generated in the apply step doesn't, so the comparison step fails.

We started noticing this recently in our https://github.com/ovotech/orion-onboarding-infra repo and has been temporarily fixed by reverting to version 2.4 of the orb (PR: https://github.com/ovotech/orion-onboarding-infra/pull/719).

@luigi-riefolo It looks like you were working in this area last month if you have time to investigate.

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