vars.tf 732 B

123456789101112131415161718192021222324252627
  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. }
  21. variable "dns_info" { type = map(any) }
  22. variable "environment" { type = string }
  23. variable "aws_region" { type = string }
  24. variable "aws_partition" { type = string }
  25. variable "aws_partition_alias" { type = string }
  26. variable "aws_account_id" { type = string }