Add DB Ec2 instances access to postgres secrets - #18713
Conversation
Error: Invalid template interpolation value
│
│ on locals_preproduction.tf line 218, in locals:
│ 218: "arn:aws:secretsmanager:*:*:secret:/postgres/database/${local.arns_integration.database_hostname}/*",
│ ├────────────────
│ │ local.arns_integration.database_hostname is null
│
│ The expression result is null. Cannot include a null value in a string
│ template.
modernisation-platform-ci (modernisation-platform-ci)
left a comment
There was a problem hiding this comment.
Terraform plan evaluation detected changes to resources that require approval from @ministryofjustice/modernsation-platform - please contact #ask-modernisation-platform for assistance
|
dave-belton Terraform plan evaluation detected changes to resources that require approval from a member of @ministryofjustice/modernisation-platform - please contact #ask-modernisation-platform for assistance Guidance on approving these PRs is available at https://user-guide.modernisation-platform.service.justice.gov.uk/runbooks/reviewing-mp-environments-prs.html#process-for-approving-prs |
modernisation-platform-ci (modernisation-platform-ci)
left a comment
There was a problem hiding this comment.
Terraform plan evaluation detected changes to resources that require approval from @ministryofjustice/modernsation-platform - please contact #ask-modernisation-platform for assistance
|
dave-belton Terraform plan evaluation detected changes to resources that require approval from a member of @ministryofjustice/modernisation-platform - please contact #ask-modernisation-platform for assistance Guidance on approving these PRs is available at https://user-guide.modernisation-platform.service.justice.gov.uk/runbooks/reviewing-mp-environments-prs.html#process-for-approving-prs |
modernisation-platform-ci (modernisation-platform-ci)
left a comment
There was a problem hiding this comment.
Terraform plan evaluation detected changes to resources that require approval from @ministryofjustice/modernsation-platform - please contact #ask-modernisation-platform for assistance
|
dave-belton Terraform plan evaluation detected changes to resources that require approval from a member of @ministryofjustice/modernisation-platform - please contact #ask-modernisation-platform for assistance Guidance on approving these PRs is available at https://user-guide.modernisation-platform.service.justice.gov.uk/runbooks/reviewing-mp-environments-prs.html#process-for-approving-prs |
modernisation-platform-ci (modernisation-platform-ci)
left a comment
There was a problem hiding this comment.
Terraform plan evaluation detected changes to resources that require approval from @ministryofjustice/modernsation-platform - please contact #ask-modernisation-platform for assistance
|
dave-belton Terraform plan evaluation detected changes to resources that require approval from a member of @ministryofjustice/modernisation-platform - please contact #ask-modernisation-platform for assistance Guidance on approving these PRs is available at https://user-guide.modernisation-platform.service.justice.gov.uk/runbooks/reviewing-mp-environments-prs.html#process-for-approving-prs |
modernisation-platform-ci (modernisation-platform-ci)
left a comment
There was a problem hiding this comment.
Terraform plan evaluation detected changes to resources that require approval from @ministryofjustice/modernsation-platform - please contact #ask-modernisation-platform for assistance
|
dave-belton Terraform plan evaluation detected changes to resources that require approval from a member of @ministryofjustice/modernisation-platform - please contact #ask-modernisation-platform for assistance Guidance on approving these PRs is available at https://user-guide.modernisation-platform.service.justice.gov.uk/runbooks/reviewing-mp-environments-prs.html#process-for-approving-prs |
| actions = [ | ||
| "kms:Decrypt", | ||
| ] | ||
| resources = ["*"] |
There was a problem hiding this comment.
Could it be a specific resource to follow the least privilege. If you dont know the key ARN maybe a condition or restrict usage to secrets manager.
…nally restrict KMS use to requests via Secrets Manager.
…y and restrict KMS use to requests via Secrets Manager following successful change to test env
|
No description provided.