Skip to content

Commit

Permalink
fix vpc dependency in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-niland committed Mar 8, 2024
1 parent e96310a commit 5712249
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ provider "awsutils" {

module "vpc" {
source = "cloudposse/vpc/aws"
version = "0.18.1"
version = "2.1.1"

cidr_block = "172.16.0.0/16"

Expand All @@ -17,9 +17,11 @@ module "vpc" {

resource "aws_route53_zone" "private_dns_zone" {
name = var.domain

vpc {
vpc_id = module.vpc.vpc_id
}

tags = module.this.tags
}

Expand All @@ -33,4 +35,4 @@ module "ses" {
create_spf_record = var.create_spf_record

context = module.this.context
}
}
4 changes: 2 additions & 2 deletions examples/complete/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 0.13.0"
required_version = ">= 1.0"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 2.0"
version = ">= 4.9.0"
}
awsutils = {
source = "cloudposse/awsutils"
Expand Down

0 comments on commit 5712249

Please sign in to comment.