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

In rare case not having an @Id field on a resource causes confusing error #229

Open
beetlebugorg opened this issue Jan 24, 2020 · 0 comments

Comments

@beetlebugorg
Copy link
Contributor

See this issue: perfectsense/gyro-aws-provider#202

The problem is that the following reference $SELF is invalid because it's referencing the aws::security-group-rules rather than an actual aws::security-group.

I think if the error in this case showed the configuration it might have helped debug this issue. However, I could be convinced that not having @Id on the rules resource is invalid as well. Perhaps both things should happen.

aws::security-group-rules sg-rules
    security-group: $(aws::security-group sg)
 
    ingress
        security-group: $SELF
        ...
    end
end
@beetlebugorg beetlebugorg added this to the 0.99.2 milestone Jan 29, 2020
@beetlebugorg beetlebugorg removed this from the 0.99.2 milestone Jul 13, 2020
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