diff --git a/patterns/aws-vpc-cni-network-policy/versions.tf b/patterns/aws-vpc-cni-network-policy/versions.tf index d8ad33d5c8..4b98ab82b1 100644 --- a/patterns/aws-vpc-cni-network-policy/versions.tf +++ b/patterns/aws-vpc-cni-network-policy/versions.tf @@ -14,9 +14,5 @@ terraform { source = "hashicorp/kubernetes" version = ">= 2.20" } - null = { - source = "hashicorp/null" - version = ">= 3.2" - } } } diff --git a/patterns/vpc-lattice/main.tf b/patterns/vpc-lattice/main.tf index 3a524a522b..bf415ae060 100644 --- a/patterns/vpc-lattice/main.tf +++ b/patterns/vpc-lattice/main.tf @@ -151,16 +151,11 @@ module "addons" { name = "clusterVpcId" value = module.cluster_vpc.vpc_id }, ] - + wait = true } - tags = local.tags -} - -resource "time_sleep" "wait_for_crd_registration" { - depends_on = [module.addons] - create_duration = "30s" + tags = local.tags } data "aws_iam_policy_document" "gateway_api_controller" { @@ -195,8 +190,6 @@ resource "helm_release" "demo_application" { chart = "./charts/demo-application" create_namespace = true namespace = "apps" - - depends_on = [time_sleep.wait_for_crd_registration] } ################################################################################