tencentcloud_bdrc_disaster_recovery_vpc_mapping

Nivis Nix constructor for the tencentcloud_bdrc_disaster_recovery_vpc_mapping 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,
  site_pair_id,
  source_subnet_id,
  source_vpc_id,
  target_subnet_id,
  target_vpc_id,
  id ? null,
  overrides ? {}
}
Required arguments
  • site_pair_id
  • source_subnet_id
  • source_vpc_id
  • target_subnet_id
  • target_vpc_id
Optional arguments
  • id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • life_state
  • status
  • vpc_mapping_id
Example
tencentcloud_bdrc_disaster_recovery_vpc_mapping {
  name = "bdrc_disaster_recovery_vpc_mapping";
  site_pair_id = …;  # required
  source_subnet_id = …;  # required
  source_vpc_id = …;  # required
  target_subnet_id = …;  # required
  target_vpc_id = …;  # required
}

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