↧
Answer by Srikanth for How to get VPC id in Terraform module?
It should be written as:output "vpc_id" { value = aws_vpc.production_vpc.id}
View ArticleAnswer by Martin Atkins for How to get VPC id in Terraform module?
Without seeing the contents of your two modules I'm guessing a bit, but it looks like you have an AWS VPC declared in your vpc module and some subnets declared in your prod_subnets module and you are...
View ArticleHow to get VPC id in Terraform module?
I have a module structure likemodule "vpc" {source = "./modules/vpc"}module "prod_subnets" {source = "./modules/vpc/modules/subnets/production"}when running am getting an error like[0m on...
View Article