File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ data "aws_iam_policy_document" "this" {
68
68
resource "aws_iam_policy" "this" {
69
69
count = local. k8s_irsa_role_create && (var. k8s_irsa_policy_enabled || var. k8s_irsa_policy_enabled ) ? 1 : 0
70
70
71
- name = " ${ var . k8s_irsa_role_name_prefix } -${ var . helm_chart_name } "
71
+ name = " ${ var . k8s_irsa_role_name_prefix } -${ var . helm_release_name } "
72
72
path = " /"
73
73
description = " Policy for cert-manager service"
74
74
policy = data. aws_iam_policy_document . this [0 ]. json
@@ -103,7 +103,7 @@ data "aws_iam_policy_document" "this_irsa" {
103
103
resource "aws_iam_role" "this" {
104
104
count = local. k8s_irsa_role_create ? 1 : 0
105
105
106
- name = " ${ var . k8s_irsa_role_name_prefix } -${ var . helm_chart_name } "
106
+ name = " ${ var . k8s_irsa_role_name_prefix } -${ var . helm_release_name } "
107
107
assume_role_policy = data. aws_iam_policy_document . this_irsa [0 ]. json
108
108
109
109
tags = var. tags
You can’t perform that action at this time.
0 commit comments