File tree Expand file tree Collapse file tree
terraform/deployments/govuk-reports Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# IAM role for govuk-reports application with access to Cost Explorer, RDS, and tagging APIs
22
33locals {
4- govuk_reports_service_account_name = " govuk-reports"
4+ govuk_reports_service_account_name = " govuk-reports-prototype "
55}
66
77# IAM policy document for govuk-reports permissions
@@ -62,7 +62,7 @@ module "govuk_reports_iam_role" {
6262 source = " terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks"
6363 version = " ~> 5.20"
6464
65- role_name = " ${ local . govuk_reports_service_account_name } - ${ data . tfe_outputs . cluster_infrastructure . nonsensitive_values . cluster_id } "
65+ role_name = local. govuk_reports_service_account_name
6666 role_description = " Role for govuk-reports application. Corresponds to ${ local . govuk_reports_service_account_name } k8s ServiceAccount."
6767 max_session_duration = 28800
6868
You can’t perform that action at this time.
0 commit comments