Skip to content

Commit

Permalink
Fix typos in deployment.tf.
Browse files Browse the repository at this point in the history
  • Loading branch information
korenyoni committed May 17, 2021
1 parent 9ac32b6 commit 6feecd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/complete/deployment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

locals {
test_deployment_role_prefix_map = local.enabled ? {
deploy-alpha = [""]
deploy_alpha = [""]
cicd_role = ["prefix1/", "prefix2/"]
} : {}

our_account_id = local.enabled ? data.aws_caller_identity.current[0].account_id : ""
our_role_arn_prefx = "arn:aws:iam::${local.our_account_id}:role"
deployment_principal_arns = { for k, v in local.test_deployment_role_prefix_map : format("%v/%v", local.our_role_arn_prefx, k) => v }
our_role_arn_prefix = "arn:aws:iam::${local.our_account_id}:role"
deployment_principal_arns = { for k, v in local.test_deployment_role_prefix_map : format("%v/%v", local.our_role_arn_prefix, k) => v }
}

data "aws_caller_identity" "current" {
Expand Down

0 comments on commit 6feecd5

Please sign in to comment.