-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add Data Source for a Nomad ACL Policy. #89
Conversation
Needed for the Test to work: * Instance of Nomad with ACL enabled * Run the `nomad acl bootstrap` command to get a secret_id * Set the NOMAD_TOKEN environment variable to the secret_id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Setting the token to run the tests is fine, we have instructions in the README for this, so it's not a problem.
I've added a few change requests, feel free to comment on them if you have any question.
Could you also add a documentation page for this data source? The docs are located under the website
folder.
Thank you for the feedback! I'm working on getting it all implemented now. |
I believe that I have everything addressed. Let me know if there's anything else. Thanks! |
I also just merged a PR that might conflict with your work, but it should be simple to fix it. Let me know if you need any help on that. |
@lgfa29 thanks! I have pushed those changes. |
Thank you for the updates 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks, @ddreier 🚀
For #82.
Needed for the Test to work:
nomad acl bootstrap
command to get a secret_idGiven that there are already tests for the
nomad_acl_policy
resource that actually create and delete policies, I don't think that this should be a problem.