alicloud_ots_instance_attachment

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

Constructor
{ name, instance_name, vpc_name, vswitch_id, id ? null, overrides ? {} }
Required arguments
  • instance_name
  • vpc_name
  • vswitch_id
Optional arguments
  • id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • vpc_id
Example
alicloud_ots_instance_attachment {
  name = "ots_instance_attachment";
  instance_name = …;  # required
  vpc_name = …;  # required
  vswitch_id = …;  # required
}

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