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

Commit 922ef99

Browse files
toast-gearCallum
and
Callum
authored
fix: reducing verbosity of role and profile (#1358)
Co-authored-by: Callum <[email protected]>
1 parent a250b96 commit 922ef99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
data "aws_caller_identity" "current" {}
22

33
resource "aws_iam_role" "runner" {
4-
name = "${var.environment}-github-action-runners-runner-role"
4+
name = "${var.environment}-runner-role"
55
assume_role_policy = templatefile("${path.module}/policies/instance-role-trust-policy.json", {})
66
path = local.role_path
77
permissions_boundary = var.role_permissions_boundary
88
tags = local.tags
99
}
1010

1111
resource "aws_iam_instance_profile" "runner" {
12-
name = "${var.environment}-github-action-runners-profile"
12+
name = "${var.environment}-runner-profile"
1313
role = aws_iam_role.runner.name
1414
path = local.instance_profile_path
1515
}

0 commit comments

Comments
 (0)