diff --git a/contrib/terraform/modules/iam-cert-manager/aws_iam.tf b/contrib/terraform/modules/iam-cert-manager/aws_iam.tf index a896383c..502d0744 100644 --- a/contrib/terraform/modules/iam-cert-manager/aws_iam.tf +++ b/contrib/terraform/modules/iam-cert-manager/aws_iam.tf @@ -5,7 +5,7 @@ locals { #trivy:ignore:AVD-AWS-0143 resource "aws_iam_user" "user" { name = local.aws_name - path = "/system/k8s/${var.cluster_name}" + path = "/system/k8s/${var.cluster_name}/" } resource "aws_iam_access_key" "user" { diff --git a/contrib/terraform/modules/iam-external-dns/aws_iam.tf b/contrib/terraform/modules/iam-external-dns/aws_iam.tf index dfffc0f5..e2a3b904 100644 --- a/contrib/terraform/modules/iam-external-dns/aws_iam.tf +++ b/contrib/terraform/modules/iam-external-dns/aws_iam.tf @@ -4,7 +4,7 @@ locals { resource "aws_iam_user" "user" { name = local.aws_name - path = "/system/k8s/${var.cluster_name}" + path = "/system/k8s/${var.cluster_name}/" } resource "aws_iam_access_key" "user" {