Skip to content

Commit 52cb859

Browse files
committed
CCM-8742: Grafana cross account access trust pol condition
1 parent aecb597 commit 52cb859

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

infrastructure/terraform/components/app/iam_role_grafana_access.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ data "aws_iam_policy_document" "observability_grafana_role_assume_role_policy" {
88
actions = ["sts:AssumeRole"]
99
effect = "Allow"
1010
principals {
11-
type = "AWS"
11+
type = "AWS"
1212
identifiers = [
13-
"arn:aws:iam::${var.observability_account_id}:root"
13+
"arn:aws:iam::${var.observability_account_id}:root"
1414
]
1515
}
1616
condition {

infrastructure/terraform/components/app/module_nhse_backup_vault.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "nhse_backup_vault" {
22
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/aws-backup-source?ref=v1.0.8"
3-
count = var.destination_vault_arn != null ? 1:0
3+
count = var.destination_vault_arn != null ? 1 : 0
44

55
component = var.component
66
environment = var.environment

0 commit comments

Comments
 (0)