123456789101112131415161718192021 |
- #Thanks to https://github.com/onetwopunch/terraform-vault-okta/blob/master/main.tf for the code.
- variable "roles" {
- type = map(any)
- default = {}
- description = <<EOF
- Map of Vault role names to their bound groups and token policies. Structure looks like this:
- ```
- roles = {
- okta_admin = {
- token_policies = ["admin"]
- bound_groups = ["vault_admins"]
- },
- okta_devs = {
- token_policies = ["devs"]
- bound_groups = ["vault_devs"]
- }
- }
- ```
- EOF
- }
|