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:
@@ -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"]
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user