rahulwagh / jhooq-comment-repo

Apache License 2.0
0 stars 0 forks source link

how-to-use-terraform-locals/ #16

Open utterances-bot opened 7 months ago

utterances-bot commented 7 months ago

How to use Terraform locals? | Jhooq

https://jhooq.com/how-to-use-terraform-locals/

kunaleomessi10 commented 7 months ago

Hi Rahul thanks for a detailed documentation it really helps!

resource "aws_vpc" "staging-vpc" { cidr_block = "10.5.0.0/16"

resource "aws_subnet" "staging-subnet" { vpc_id = aws_vpc.staging-vpc.id cidr_block = "10.5.0.0/16"

Just wanted to clarify the cidr block of vpc and the subnet should not be the same right ?

Suraj1411Mane commented 7 months ago

yes both will be different