Last active
December 4, 2021 09:28
-
-
Save overskylab/808f5160f07bc0b791836acc957e5d05 to your computer and use it in GitHub Desktop.
medium-terraform-module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "aws_vpc" "main" { | |
| cidr_block = "10.0.0.0/16" | |
| tags = { | |
| Name = "my-vpc" | |
| } | |
| } | |
| resource "aws_subnet" "main_1a" { | |
| vpc_id = aws_vpc.main.id | |
| cidr_block = "10.0.1.0/24" | |
| } | |
| resource "aws_subnet" "main_1b" { | |
| vpc_id = aws_vpc.main.id | |
| cidr_block = "10.0.2.0/24" | |
| } | |
| resource "aws_subnet" "main_3c" { | |
| vpc_id = aws_vpc.main.id | |
| cidr_block = "10.0.2.0/24" | |
| } | |
| #... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment