Skip to content

Instantly share code, notes, and snippets.

@AndrewBestbier
Created March 11, 2020 11:57
Show Gist options
  • Select an option

  • Save AndrewBestbier/59db0aeba8bea2670c8ffe14ba315abb to your computer and use it in GitHub Desktop.

Select an option

Save AndrewBestbier/59db0aeba8bea2670c8ffe14ba315abb to your computer and use it in GitHub Desktop.
# Providing a reference to our default VPC
resource "aws_default_vpc" "default_vpc" {
}
# Providing a reference to our default subnets
resource "aws_default_subnet" "default_subnet_a" {
availability_zone = "eu-west-2a"
}
resource "aws_default_subnet" "default_subnet_b" {
availability_zone = "eu-west-2b"
}
resource "aws_default_subnet" "default_subnet_c" {
availability_zone = "eu-west-2c"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment