Skip to content

Commit e2b4968

Browse files
Fixing Cycle error (#59)
* Creating control plane available addons repo * Fixed the signature error Signed-off-by: markos kandylis <[email protected]> * Fixig cycle error between role and eks cluster Signed-off-by: markos kandylis <[email protected]> * Signed-off-by: markos kandylis <[email protected]> Made changes to hub-spoke for the cycle bug --------- Signed-off-by: markos kandylis <[email protected]>
1 parent f86850d commit e2b4968

File tree

2 files changed

+2
-4
lines changed
  • argocd/iac/terraform/examples/eks/multi-cluster

2 files changed

+2
-4
lines changed

argocd/iac/terraform/examples/eks/multi-cluster/hub-spoke-shared/spokes/main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,12 @@ data "aws_iam_policy_document" "assume_role_policy" {
249249
}
250250
}
251251
resource "aws_iam_role" "spoke" {
252-
name = "${module.eks.cluster_name}-argocd-spoke"
252+
name = "${local.name}-argocd-spoke"
253253
assume_role_policy = data.aws_iam_policy_document.assume_role_policy.json
254254
}
255255

256256

257257

258-
259-
260258
################################################################################
261259
# EKS Blueprints Addons
262260
################################################################################

argocd/iac/terraform/examples/eks/multi-cluster/hub-spoke/spokes/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ data "aws_iam_policy_document" "assume_role_policy" {
194194
}
195195
}
196196
resource "aws_iam_role" "spoke" {
197-
name = "${module.eks.cluster_name}-argocd-spoke"
197+
name = "${local.name}-argocd-spoke"
198198
assume_role_policy = data.aws_iam_policy_document.assume_role_policy.json
199199
}
200200

0 commit comments

Comments
 (0)