frostmoln_vpc (Data Source)
Look up a VPC by ID or name.
Example Usage
terraform
data "frostmoln_vpc" "production" {
name = "production-vpc"
}
output "vpc_cidr" {
value = data.frostmoln_vpc.production.cidr
}Schema
Optional
id(String) The unique identifier of the VPC. Exactly one of id or name must be specified.name(String) The name of the VPC. Exactly one of id or name must be specified.
Read-Only
cidr(String) The CIDR block of the VPC.created_at(String) The timestamp when the VPC was created.description(String) The description of the VPC.is_default(Boolean) Whether this is the default VPC.status(String) The status of the VPC.subnet_count(Number) The number of subnets in the VPC.tags(Map of String) The tags associated with the VPC.