tencentcloud_ccn_attachment

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

Constructor
{
  name,
  ccn_id,
  instance_id,
  instance_region,
  instance_type,
  ccn_uin ? null,
  description ? null,
  id ? null,
  route_table_id ? null,
  overrides ? {}
}
Required arguments
  • ccn_id
  • instance_id
  • instance_region
  • instance_type
Optional arguments
  • ccn_uin (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • route_table_id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • attached_time
  • cidr_block
  • route_ids
  • state
Example
tencentcloud_ccn_attachment {
  name = "ccn_attachment";
  ccn_id = …;  # required
  instance_id = …;  # required
  instance_region = …;  # required
  instance_type = …;  # required
}

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