Skip to content

Instantly share code, notes, and snippets.

@tbeyer567
Created April 10, 2023 16:55
Show Gist options
  • Save tbeyer567/0423ec62bb7ac7a6d5153f298fb17565 to your computer and use it in GitHub Desktop.
Save tbeyer567/0423ec62bb7ac7a6d5153f298fb17565 to your computer and use it in GitHub Desktop.
module "vault_west" {
source = "../"
vpc_cidr = "172.31.1.0/24"
vpc_name = "vault-west"
providers = {
aws = aws.us-west-2
}
}
module "vault_east" {
source = "../"
vpc_cidr = "172.31.2.0/24"
vpc_name = "vault-east"
providers = {
aws = aws.us-east-1
}
}
terraform {
required_providers = {
aws = {
source = "hashicorp/aws"
}
}
}
provider "aws" {
alias = "us-west-2"
region = "us-west-2"
}
provider "aws" {
alias = "us-east-1"
region = "us-east-1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment