From 1d3e94d4861a179af395f230678b78e984c48aaa Mon Sep 17 00:00:00 2001 From: "David.Houck" Date: Fri, 5 Jan 2024 18:56:13 +0000 Subject: [PATCH] allow module minor version upgrades --- modules/aws_autoscaling/main.tf | 2 +- modules/aws_ebs_csi/main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"