Adds IAM roles for the Managed Identity Module

This adds the ability to pass in a list of roles to be assigned to the
managed identity user.
This commit is contained in:
Rob Gil
2020-01-07 14:00:27 -05:00
parent f76934eaaf
commit 11404a6e5b
3 changed files with 17 additions and 1 deletions

View File

@@ -5,4 +5,6 @@ module "keyvault_reader_identity" {
environment = var.environment
region = var.region
identity = "${var.name}-${var.environment}-vault-reader"
roles = ["Reader", "Managed Identity Operator"]
}