Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error retrying destroy with local.aws_dx_id #7

Open
ocobles opened this issue Jun 6, 2023 · 0 comments
Open

error retrying destroy with local.aws_dx_id #7

ocobles opened this issue Jun 6, 2023 · 0 comments

Comments

@ocobles
Copy link
Contributor

ocobles commented Jun 6, 2023

If there's an error during destroy, retrying destroy produces an error with the expression

aws_dx_id = one([
       for action_data in one(module.equinix-fabric-connection.primary_connection.actions).required_data: action_data["value"]
       if action_data["key"] == "awsConnectionId"
   ])
│ Error: Unsupported attribute
│ 
│   on .terraform/modules/equinix-fabric-connection-aws-secondary/main.tf line 3, in locals:
│    3:        for action_data in one(module.equinix-fabric-connection.primary_connection.actions).required_data: action_data["value"]
│     ├────────────────
│     │ module.equinix-fabric-connection is object with 1 attribute "secondary_connection"
│ 
│ This object does not have an attribute named "primary_connection".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant