Skip to content

Commit

Permalink
fix: add tags to aws resources (#3549)
Browse files Browse the repository at this point in the history
Add tags to AWS resources that do not have any tags.

Co-authored-by: Niek Palm <npalm@users.noreply.github.com>
  • Loading branch information
gmcoringa and npalm authored Oct 26, 2023
1 parent 1a25b2c commit c747139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/runners/policies-lambda-common.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ resource "aws_iam_policy" "ami_id_ssm_parameter_read" {
name = "${var.prefix}-ami-id-ssm-parameter-read"
path = local.role_path
description = "Allows for reading ${var.prefix} GitHub runner AMI ID from an SSM parameter"
tags = local.tags
policy = <<-JSON
{
"Version": "2012-10-17",
Expand Down
1 change: 1 addition & 0 deletions modules/runners/policies-runner.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ resource "aws_iam_instance_profile" "runner" {
name = "${var.prefix}-runner-profile"
role = aws_iam_role.runner.name
path = local.instance_profile_path
tags = local.tags
}

resource "aws_iam_role_policy" "runner_session_manager_aws_managed" {
Expand Down

0 comments on commit c747139

Please sign in to comment.