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

Assign ACL token to role #178

Closed
ltagliamonte-dd opened this issue Feb 5, 2020 · 1 comment · Fixed by #180
Closed

Assign ACL token to role #178

ltagliamonte-dd opened this issue Feb 5, 2020 · 1 comment · Fixed by #180

Comments

@ltagliamonte-dd
Copy link

The current consul_acl_token resource doesn't allow to assign a token to a role.

Only policies seems supported https://www.terraform.io/docs/providers/consul/r/acl_token.html

Using the cli is it possible to create a token and assign it to a role:

consul acl token create -description "Monitoring token" -role-id dd9-f5f9-9781-9acc-1fac1527e911

Are there any plan to add this? or any workaround?

remilapeyre added a commit to remilapeyre/terraform-provider-consul that referenced this issue Feb 12, 2020
@remilapeyre
Copy link
Contributor

Hi @ltagliamonte-dd, thanks for the remainder, we forgot it when adding consul_acl_token.

I just opened a PR with it.

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

Successfully merging a pull request may close this issue.

2 participants