open-nomad/e2e/terraform/config
Tim Gross 566dae7b19
e2e: add flag to bootstrap Nomad ACLs (#8961)
Adds a `nomad_acls` flag to our Terraform stack that bootstraps Nomad ACLs via
a `local-exec` provider. There's no way to set the `NOMAD_TOKEN` in the Nomad
TF provider if we're bootstrapping in the same Terraform stack, so instead of
using `resource.nomad_acl_token`, we also bootstrap a wide-open anonymous
policy. The resulting management token is exported as an environment var with
`$(terraform output environment)` and tests that want stricter ACLs will be
able to write them using that token.

This should also provide a basis to do similar work with Consul ACLs in the
future.
2020-09-28 09:22:36 -04:00
..
custom e2e: move configurations into profile-specific directories (#8828) 2020-09-04 11:23:32 -04:00
dev-cluster make sure dev-cluster has the option to run windows config (#8928) 2020-09-18 16:41:35 -04:00
full-cluster e2e: move configurations into profile-specific directories (#8828) 2020-09-04 11:23:32 -04:00
shared e2e: add flag to bootstrap Nomad ACLs (#8961) 2020-09-28 09:22:36 -04:00
.gitignore e2e: move configurations into profile-specific directories (#8828) 2020-09-04 11:23:32 -04:00