Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit c747139

Browse files
gmcoringanpalm
andauthored
fix: add tags to aws resources (#3549)
Add tags to AWS resources that do not have any tags. Co-authored-by: Niek Palm <[email protected]>
1 parent 1a25b2c commit c747139

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: modules/runners/policies-lambda-common.tf

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ resource "aws_iam_policy" "ami_id_ssm_parameter_read" {
1414
name = "${var.prefix}-ami-id-ssm-parameter-read"
1515
path = local.role_path
1616
description = "Allows for reading ${var.prefix} GitHub runner AMI ID from an SSM parameter"
17+
tags = local.tags
1718
policy = <<-JSON
1819
{
1920
"Version": "2012-10-17",

Diff for: modules/runners/policies-runner.tf

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ resource "aws_iam_instance_profile" "runner" {
1212
name = "${var.prefix}-runner-profile"
1313
role = aws_iam_role.runner.name
1414
path = local.instance_profile_path
15+
tags = local.tags
1516
}
1617

1718
resource "aws_iam_role_policy" "runner_session_manager_aws_managed" {

0 commit comments

Comments
 (0)