Skip to content

Resource node has no configuration attached when using "apply planfile" #21515

@cappetta

Description

@cappetta

I'm seeing 2 issues in CI after upgrading to v0.12. Not sure if they are both related to the apply graph builder but sharing the CICD build link

I believe this is reproduced by terraform plan -out <file> then terraform apply <outfile> - I've reproduced it locally, then updated my circleci config file to eliminate the apply with a normal apply --auto-approve and the build is passing again

`
Error: Resource node has no configuration attached

The graph node for
module.staging-infrastructure.module.secdevops.aws_instance.sc[0] has no
configuration attached to it. This suggests a bug in Terraform's apply graph
builder; please report it!
`

And this error about a non-empty state:

`
Error: orphan resource module.staging-infrastructure.module.secdevops.data.aws_ami.seed_ubuntu1604 still has a non-empty state after apply; this is a bug in Terraform

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions