We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ede5e96 commit a2bb37aCopy full SHA for a2bb37a
terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf
@@ -64,6 +64,8 @@ resource "aws_iam_role" "github_actions_runner_role" {
64
name = "${local.gha_runner_scale_set.name}-role"
65
66
assume_role_policy = data.aws_iam_policy_document.github_actions_runner_assume_role_policy.json
67
+
68
+ depends_on = [ helm_release.gha_runner_scale_set ]
69
}
70
71
data "aws_iam_policy_document" "github_actions_runner_assume_role_policy" {
@@ -90,6 +92,8 @@ resource "aws_iam_role_policy" "github_actions_runner_policy" {
90
92
role = aws_iam_role.github_actions_runner_role[0].id
91
93
94
policy = data.aws_iam_policy_document.github_actions_runner_policy.json
95
96
97
98
99
data "aws_iam_policy_document" "github_actions_runner_policy" {
0 commit comments