File tree 15 files changed +22
-22
lines changed
aws-load-balancer-controller
15 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module "helm_addon" {
20
20
# -- IRSA Configurations
21
21
irsa_config = {
22
22
irsa_iam_policies = [aws_iam_policy.policy.arn]
23
- irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Role "
23
+ irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } "
24
24
create_kubernetes_service_account = true
25
25
kubernetes_service_account = " ${ local . name } -sa"
26
26
kubernetes_namespace = local.default_helm_config.namespace
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ module "helm_addon" {
28
28
# -- IRSA Configurations
29
29
irsa_config = {
30
30
irsa_iam_policies = [aws_iam_policy.policy.arn]
31
- irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Role "
31
+ irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } "
32
32
create_kubernetes_service_account = true
33
33
kubernetes_service_account = " ${ local . name } -sa"
34
34
kubernetes_namespace = local.default_helm_config.namespace
@@ -39,7 +39,7 @@ module "helm_addon" {
39
39
}
40
40
41
41
resource "aws_iam_policy" "policy" {
42
- name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
42
+ name = " ${ local . name } -${ var . eks_cluster_name } "
43
43
path = " /"
44
44
description = " IAM Policy used by ${ local . name } -${ var . eks_cluster_name } IAM Role"
45
45
policy = var. iampolicy_json_content != null ? var. iampolicy_json_content : <<- EOT
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ output "service_account" {
3
3
}
4
4
5
5
output "iam_policy" {
6
- value = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
6
+ value = " ${ local . name } -${ var . eks_cluster_name } "
7
7
}
8
8
9
9
output "namespace" {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ module "helm_addon" {
32
32
# -- IRSA Configurations
33
33
irsa_config = {
34
34
irsa_iam_policies = [aws_iam_policy.policy.arn]
35
- irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Role "
35
+ irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } "
36
36
create_kubernetes_service_account = true
37
37
kubernetes_service_account = " ${ local . name } -sa"
38
38
kubernetes_namespace = local.default_helm_config.namespace
@@ -43,7 +43,7 @@ module "helm_addon" {
43
43
}
44
44
45
45
resource "aws_iam_policy" "policy" {
46
- name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
46
+ name = " ${ local . name } -${ var . eks_cluster_name } "
47
47
path = " /"
48
48
description = " IAM Policy used by ${ local . name } -${ var . eks_cluster_name } IAM Role"
49
49
policy = var. iampolicy_json_content != null ? var. iampolicy_json_content : <<- EOT
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ output "service_account" {
3
3
}
4
4
5
5
output "iam_policy" {
6
- value = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
6
+ value = " ${ local . name } -${ var . eks_cluster_name } "
7
7
}
8
8
9
9
output "namespace" {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ module "helm_addon" {
28
28
# -- IRSA Configurations
29
29
irsa_config = {
30
30
irsa_iam_policies = [aws_iam_policy.policy.arn]
31
- irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Role "
31
+ irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } "
32
32
create_kubernetes_service_account = true
33
33
kubernetes_service_account = " ${ local . name } -sa"
34
34
kubernetes_namespace = local.default_helm_config.namespace
@@ -38,7 +38,7 @@ module "helm_addon" {
38
38
}
39
39
40
40
resource "aws_iam_policy" "policy" {
41
- name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
41
+ name = " ${ local . name } -${ var . eks_cluster_name } "
42
42
path = " /"
43
43
description = " IAM Policy used by ${ local . name } -${ var . eks_cluster_name } IAM Role"
44
44
policy = var. iampolicy_json_content != null ? var. iampolicy_json_content : <<- EOT
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ output "service_account" {
3
3
}
4
4
5
5
output "iam_policy" {
6
- value = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
6
+ value = " ${ local . name } -${ var . eks_cluster_name } "
7
7
}
8
8
9
9
output "namespace" {
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ module "helm_addon" {
37
37
# -- IRSA Configurations
38
38
irsa_config = {
39
39
irsa_iam_policies = [aws_iam_policy.policy.arn]
40
- irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Role "
40
+ irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } "
41
41
create_kubernetes_service_account = true
42
42
kubernetes_service_account = " ${ local . name } -sa"
43
43
kubernetes_namespace = local.default_helm_config.namespace
@@ -48,7 +48,7 @@ module "helm_addon" {
48
48
}
49
49
50
50
resource "aws_iam_policy" "policy" {
51
- name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
51
+ name = " ${ local . name } -${ var . eks_cluster_name } "
52
52
path = " /"
53
53
description = " IAM Policy used by ${ local . name } -${ var . eks_cluster_name } IAM Role"
54
54
policy = data. aws_iam_policy_document . iam-policy . json
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ output "service_account" {
7
7
}
8
8
9
9
output "iam_policy" {
10
- value = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
10
+ value = " ${ local . name } -${ var . eks_cluster_name } "
11
11
}
12
12
13
13
output "namespace" {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module "helm_addon" {
31
31
# -- IRSA Configurations
32
32
irsa_config = {
33
33
irsa_iam_policies = [aws_iam_policy.policy.arn]
34
- irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Role "
34
+ irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } "
35
35
create_kubernetes_service_account = true
36
36
kubernetes_service_account = " ${ local . name } -sa"
37
37
kubernetes_namespace = local.default_helm_config.namespace
@@ -42,7 +42,7 @@ module "helm_addon" {
42
42
}
43
43
44
44
resource "aws_iam_policy" "policy" {
45
- name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
45
+ name = " ${ local . name } -${ var . eks_cluster_name } "
46
46
path = " /"
47
47
description = " IAM Policy used by ${ local . name } -${ var . eks_cluster_name } IAM Role"
48
48
policy = var. iampolicy_json_content != null ? var. iampolicy_json_content : <<- EOT
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ output "service_account" {
3
3
}
4
4
5
5
output "iam_policy" {
6
- value = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
6
+ value = " ${ local . name } -${ var . eks_cluster_name } "
7
7
}
8
8
9
9
output "namespace" {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ module "helm_addon" {
32
32
# -- IRSA Configurations
33
33
irsa_config = {
34
34
irsa_iam_policies = [aws_iam_policy.policy.arn]
35
- irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Role "
35
+ irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } "
36
36
create_kubernetes_service_account = true
37
37
kubernetes_service_account = " ${ local . name } -sa"
38
38
kubernetes_namespace = local.default_helm_config.namespace
@@ -43,7 +43,7 @@ module "helm_addon" {
43
43
}
44
44
45
45
resource "aws_iam_policy" "policy" {
46
- name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
46
+ name = " ${ local . name } -${ var . eks_cluster_name } "
47
47
path = " /"
48
48
description = " IAM Policy used by ${ local . name } -${ var . eks_cluster_name } IAM Role"
49
49
policy = var. iampolicy_json_content != null ? var. iampolicy_json_content : <<- EOT
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ output "service_account" {
3
3
}
4
4
5
5
output "iam_policy" {
6
- value = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
6
+ value = " ${ local . name } -${ var . eks_cluster_name } "
7
7
}
8
8
9
9
output "namespace" {
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ module "helm_addon" {
27
27
kubernetes_namespace = local.default_helm_config.namespace
28
28
kubernetes_service_account = " ${ local . name } -sa"
29
29
irsa_iam_policies = [aws_iam_policy.policy.arn]
30
- irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Role "
30
+ irsa_iam_role_name = " ${ local . name } -${ var . eks_cluster_name } "
31
31
eks_oidc_provider_arn = replace (data. aws_eks_cluster . eks_cluster . identity [0 ]. oidc [0 ]. issuer , " https://" , " " )
32
32
account_id = var.account_id
33
33
}
34
34
}
35
35
resource "aws_iam_policy" "policy" {
36
- name = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
36
+ name = " ${ local . name } -${ var . eks_cluster_name } "
37
37
path = " /"
38
38
description = " IAM Policy used by ${ local . name } -${ var . eks_cluster_name } IAM Role"
39
39
policy = var. iampolicy_json_content != null ? var. iampolicy_json_content : <<- EOT
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ output "service_account" {
3
3
}
4
4
5
5
output "iam_policy" {
6
- value = " ${ local . name } -${ var . eks_cluster_name } -IAM-Policy "
6
+ value = " ${ local . name } -${ var . eks_cluster_name } "
7
7
}
8
8
9
9
output "namespace" {
You can’t perform that action at this time.
0 commit comments