Skip to content

Commit

Permalink
Fix providers and upgrad vpc module
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaldivyam committed Aug 13, 2024
1 parent 4f29d1c commit 7d742f7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
2 changes: 1 addition & 1 deletion terraform/aws/vpc/vpc.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module "vpc" {
source = "terraform-aws-modules/vpc/aws"

version = "3.14.0"
version = "5.12.1"

name = var.cluster_name
cidr = var.cidr
Expand Down
2 changes: 2 additions & 0 deletions terraform/helm/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ variable "argocd_repos" {
variable "repo_url"{
type = string
description = "URL to the repository (Git or Helm) that contains the application manifests."
default = ""
}
variable "path"{
type = string
description = "Directory path within the repository. Only valid for applications sourced from Git."
default = ""
}

variable "secrets_file" {
Expand Down
2 changes: 1 addition & 1 deletion terragrunt/kops/cluster/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
}

# Indicate what region to deploy the resources into
generate "provider" {
generate "provider_cluster" {
path = "kops.tf"
if_exists = "overwrite_terragrunt"
contents = <<EOF
Expand Down
22 changes: 0 additions & 22 deletions terragrunt/kops/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,6 @@ remote_state {
}
}

# Indicate what region to deploy the resources into
generate "provider" {
path = "provider.tf"
if_exists = "overwrite_terragrunt"
contents = <<EOF
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.16"
}
}
required_version = ">= 1.2.2"
}
provider "aws" {
region = "${local.region}"
}
EOF
}

locals {
tags = {
name = local.customer_vars.cluster_name
Expand Down

0 comments on commit 7d742f7

Please sign in to comment.