Skip to content

Commit

Permalink
IAM policy
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Aug 1, 2024
1 parent d524f32 commit 8a16834
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/runners/scale-down.tf
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ resource "aws_iam_role_policy" "scale_down" {
name = "${var.prefix}-lambda-scale-down-policy"
role = aws_iam_role.scale_down.name
policy = templatefile("${path.module}/policies/lambda-scale-down.json", {
environment = var.prefix
github_app_id_arn = var.github_app_parameters.id.arn
github_app_key_base64_arn = var.github_app_parameters.key_base64.arn
kms_key_arn = local.kms_key_arn
Expand Down

0 comments on commit 8a16834

Please sign in to comment.