File tree Expand file tree Collapse file tree
terragrunt/aws/central_account Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 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-
71variable "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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments