diff --git a/modules/aws_autoscaling/main.tf b/modules/aws_autoscaling/main.tf index 6bb05a9..cba193e 100644 --- a/modules/aws_autoscaling/main.tf +++ b/modules/aws_autoscaling/main.tf @@ -60,7 +60,7 @@ resource "aws_iam_policy" "worker_autoscaling" { module "iam_assumable_role_with_oidc" { source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc" - version = "5.30.2" + version = "~> 5.0" create_role = true role_name = "${var.prefix}-cluster-autoscaler" diff --git a/modules/aws_ebs_csi/main.tf b/modules/aws_ebs_csi/main.tf index bd995bb..2e60ece 100644 --- a/modules/aws_ebs_csi/main.tf +++ b/modules/aws_ebs_csi/main.tf @@ -158,7 +158,7 @@ EOT module "iam_assumable_role_with_oidc" { source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc" - version = "5.30.2" + version = "~> 5.0" create_role = true role_name = "${var.prefix}-ebs-csi-role"