File tree Expand file tree Collapse file tree
infra/aws/terraform/kops-infra-ci Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ limitations under the License.
1717module "eks" {
1818 providers = { aws = aws.kops- infra- ci }
1919 source = " terraform-aws-modules/eks/aws"
20- version = " 21.3.2 "
20+ version = " ~> 21.20 "
2121
2222 name = local. cluster_name
2323 kubernetes_version = var. eks_version
@@ -179,7 +179,7 @@ resource "aws_eks_pod_identity_association" "kops_prow_build" {
179179module "vpc_cni_irsa" {
180180 providers = { aws = aws.kops- infra- ci }
181181 source = " terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts"
182- version = " ~> 6.2.1 "
182+ version = " ~> 6.6 "
183183
184184 name = " vpc-cni-ipv4"
185185 attach_vpc_cni_policy = true
@@ -202,7 +202,7 @@ module "vpc_cni_irsa" {
202202module "ebs_csi_irsa" {
203203 providers = { aws = aws.kops- infra- ci }
204204 source = " terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts"
205- version = " ~> 6.2.1 "
205+ version = " ~> 6.6 "
206206
207207 name = " ebs-csi"
208208 attach_ebs_csi_policy = true
@@ -222,7 +222,7 @@ module "ebs_csi_irsa" {
222222module "cluster_autoscaler_irsa_role" {
223223 providers = { aws = aws.kops- infra- ci }
224224 source = " terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts"
225- version = " ~> 6.2.1 "
225+ version = " ~> 6.6 "
226226
227227 name = " cluster-autoscaler"
228228 attach_cluster_autoscaler_policy = true
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ terraform {
2424 required_providers {
2525 aws = {
2626 source = " hashicorp/aws"
27- version = " ~> 6.37.0 "
27+ version = " ~> 6.44 "
2828 }
2929 kubernetes = {
3030 source = " hashicorp/kubernetes"
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ module "vpc" {
6666 }
6767
6868 source = " terraform-aws-modules/vpc/aws"
69- version = " ~> 6.4.0 "
69+ version = " ~> 6.6 "
7070
7171 name = " ${ local . prefix } -vpc"
7272 cidr = aws_vpc_ipam_preview_next_cidr. main . cidr
@@ -113,7 +113,7 @@ module "vpc_endpoints" {
113113 }
114114
115115 source = " terraform-aws-modules/vpc/aws//modules/vpc-endpoints"
116- version = " ~> 6.4.0 "
116+ version = " ~> 6.6 "
117117
118118 vpc_id = module. vpc . vpc_id
119119
@@ -142,7 +142,7 @@ module "vpc_endpoints" {
142142 replace (service, " ." , " _" ) =>
143143 {
144144 service = service
145- subnet_ids = module.vpc.private_subnets
145+ subnet_ids = slice ( module. vpc . private_subnets , 0 , length (local . azs ))
146146 private_dns_enabled = true
147147 tags = { Name = " ${ local . prefix } -${ service } " }
148148 }
You can’t perform that action at this time.
0 commit comments