vars.tf 476 B

123456789101112131415161718192021
  1. #Thanks to https://github.com/onetwopunch/terraform-vault-okta/blob/master/main.tf for the code.
  2. variable "roles" {
  3. type = map(any)
  4. default = {}
  5. description = <<EOF
  6. Map of Vault role names to their bound groups and token policies. Structure looks like this:
  7. ```
  8. roles = {
  9. okta_admin = {
  10. token_policies = ["admin"]
  11. bound_groups = ["vault_admins"]
  12. },
  13. okta_devs = {
  14. token_policies = ["devs"]
  15. bound_groups = ["vault_devs"]
  16. }
  17. }
  18. ```
  19. EOF
  20. }