-
Notifications
You must be signed in to change notification settings - Fork 13
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
Change HCL for adding resources to watches #4
Comments
I imagine this is a breaking change, so it should be deferred to v3.0.0. But I think it's a good idea. |
Yes, this would be breaking. I have actually spoken @jasonwbarnett. Right now I have an open discussion ticket about moving the xray code out into it's own provider. And, at that point, I think it would be a fair discussion to change the HCL. I didn't come up with this HCL, and my editor gives me warnings about it. But I can't just break people. Please upvote and give your comments on the discussion to move xray to it's own provider |
I'd like to get your vote on this |
- Add more tests. - Replace plurals with single form - resource, filter, assigned_policy per PTRENG-3122 and GH-4 - Remove old tests and filter wrapper
Released in v0.0.1 |
Currently the API for adding a repository (or any type of resource) is like so:
I strongly believe that the
resources
key should be singular (i.e.resource
) since it is intended to be specified once per resource you intend to add to the xray watch. This would make this more consistent with the core terraform modules. Given that resource isThe text was updated successfully, but these errors were encountered: