aws_networkmanager_vpc_attachment

Nivis Nix constructor for the aws_networkmanager_vpc_attachment 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,
  core_network_id,
  subnet_arns,
  vpc_arn,
  id ? null,
  routing_policy_label ? null,
  tags ? null,
  tags_all ? null,
  options ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • core_network_id
  • subnet_arns
  • vpc_arn
Optional arguments
  • id (defaults to null)
  • routing_policy_label (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • options (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • attachment_policy_rule_number
  • attachment_type
  • core_network_arn
  • edge_location
  • owner_account_id
  • resource_arn
  • segment_name
  • state
Example
aws_networkmanager_vpc_attachment {
  name = "networkmanager_vpc_attachment";
  core_network_id = …;  # required
  subnet_arns = …;  # required
  vpc_arn = …;  # required
}

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