Skip to content

Commit 87a5e8f

Browse files
Taking out the cbs_principal_arn since it was deleted (#509)
1 parent 944a573 commit 87a5e8f

5 files changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/terragrunt-apply-central.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ env:
1818
TERRAFORM_VERSION: 1.1.4
1919
TERRAGRUNT_VERSION: 0.36.0
2020
TF_INPUT: false
21-
TF_VAR_cbs_principal_arn: ${{ secrets.CBS_PRINCIPAL_ARN }}
2221
TF_VAR_cbs_principal_role_arn: ${{ secrets.CBS_PRINCIPAL_ROLE_ARN }}
2322
TF_VAR_cbs_destination_event_bus_arn: ${{ secrets.CBS_DESTINATION_EVENT_BUS_ARN}}
2423
TF_VAR_slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_CBS }}

.github/workflows/terragrunt-plan-central.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ env:
1717
TERRAFORM_VERSION: 1.1.4
1818
TERRAGRUNT_VERSION: 0.36.0
1919
TF_INPUT: false
20-
TF_VAR_cbs_principal_arn: ${{ secrets.CBS_PRINCIPAL_ARN }}
2120
TF_VAR_cbs_principal_role_arn: ${{ secrets.CBS_PRINCIPAL_ROLE_ARN }}
2221
TF_VAR_cbs_destination_event_bus_arn: ${{ secrets.CBS_DESTINATION_EVENT_BUS_ARN}}
2322
TF_VAR_slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_CBS }}

terragrunt/aws/central_account/iam.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ data "aws_iam_policy_document" "log_archive_read_assume" {
1212
actions = ["sts:AssumeRole"]
1313
principals {
1414
type = "AWS"
15-
identifiers = [var.cbs_principal_arn, var.cbs_principal_role_arn]
15+
identifiers = [var.cbs_principal_role_arn]
1616
}
1717
}
1818
}

terragrunt/aws/central_account/inputs.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
variable "cbs_principal_arn" {
2-
description = "ARN of the CBS principal that reads objects from the log archive bucket"
3-
type = string
4-
sensitive = true
5-
}
6-
71
variable "cbs_principal_role_arn" {
82
description = "ARN of the CBS principal role that reads objects from the log archive bucket (used upon decommissioning of CBS v1.0)"
93
type = string

terragrunt/aws/central_account/kms.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ data "aws_iam_policy_document" "log_archive_encrypt" {
2828
resources = ["*"]
2929
principals {
3030
type = "AWS"
31-
identifiers = [var.cbs_principal_arn, var.cbs_principal_role_arn]
31+
identifiers = [var.cbs_principal_role_arn]
3232
}
3333
}
3434

0 commit comments

Comments
 (0)