aws_vpc

Nivis Nix constructor for the aws_vpc resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  assign_generated_ipv6_cidr_block ? null,
  cidr_block ? null,
  enable_dns_hostnames ? null,
  enable_dns_support ? null,
  enable_network_address_usage_metrics ? null,
  id ? null,
  instance_tenancy ? null,
  ipv4_ipam_pool_id ? null,
  ipv4_netmask_length ? null,
  ipv6_cidr_block ? null,
  ipv6_cidr_block_network_border_group ? null,
  ipv6_ipam_pool_id ? null,
  ipv6_netmask_length ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • assign_generated_ipv6_cidr_block (defaults to null)
  • cidr_block (defaults to null)
  • enable_dns_hostnames (defaults to null)
  • enable_dns_support (defaults to null)
  • enable_network_address_usage_metrics (defaults to null)
  • id (defaults to null)
  • instance_tenancy (defaults to null)
  • ipv4_ipam_pool_id (defaults to null)
  • ipv4_netmask_length (defaults to null)
  • ipv6_cidr_block (defaults to null)
  • ipv6_cidr_block_network_border_group (defaults to null)
  • ipv6_ipam_pool_id (defaults to null)
  • ipv6_netmask_length (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • default_network_acl_id
  • default_route_table_id
  • default_security_group_id
  • dhcp_options_id
  • ipv6_association_id
  • main_route_table_id
  • network_firewall_association
  • owner_id
Example
aws_vpc {
  name = "vpc";
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.