Skip to content

Commit b2c3f59

Browse files
committed
[ELI] using variables for naming
1 parent 6b997f4 commit b2c3f59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • infrastructure/stacks/iams-developer-roles
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
locals {
22
stack_name = "iams-developer-roles"
3-
dev_role_arn = "arn:aws:iam::448049830832:role/aws-reserved/sso.amazonaws.com/eu-west-2/AWSReservedSSO_vdselid_dev_d92ae328ac8d84c7"
3+
dev_role_arn = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/aws-reserved/sso.amazonaws.com/${var.default_aws_region}/AWSReservedSSO_vdselid_dev_d92ae328ac8d84c7"
44
lambda_signing_profile_name = "${terraform.workspace == "default" ? "" : "${terraform.workspace}"}EligibilityApiLambdaSigningProfile"
55
lambda_signing_profile_arn = "arn:aws:signer:${var.default_aws_region}:${data.aws_caller_identity.current.account_id}:/signing-profiles/${local.lambda_signing_profile_name}"
66
}

0 commit comments

Comments
 (0)