Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/multi-runner/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ locals {
aws_region = var.aws_region

# create map only with amazon linux 2023 x64 and arm64 to overwrite the default
al2023_arm64_name = "/examples/multi-runner/aws-github-runners/ami/amazon-linux-2023-arm64"
al2023_arm64_name = "/${var.environment}/examples/multi-runner/aws-github-runners/ami/amazon-linux-2023-arm64"
ssm_ami_arns = {
"linux-x64" = data.aws_ssm_parameter.al2023_x64.arn
# construct the arn to avoid terraform count errors
Expand Down
3 changes: 2 additions & 1 deletion modules/runners/policies/lambda-scale-up.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"Resource": [
"${github_app_key_base64_arn}",
"${github_app_id_arn}",
"${ssm_config_path}/*"
"${ssm_config_path}/*",
"${ssm_ami_id_parameter_arn}"
]
},
{
Expand Down
Loading