Created
September 6, 2020 13:38
-
-
Save khushi20218/2aebbe9640f42ccb580fa2a676b0478b to your computer and use it in GitHub Desktop.
This file contains 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
# VPC data soruce | |
data "aws_vpc" "def_vpc" { | |
default = true | |
} | |
# Subnet data source | |
data "aws_subnet_ids" "vpc_sub" { | |
vpc_id = data.aws_vpc.def_vpc.id | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment