alicloud_ecs_auto_snapshot_policy_attachment

Nivis Nix constructor for the alicloud_ecs_auto_snapshot_policy_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,
  auto_snapshot_policy_id,
  disk_id,
  id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • auto_snapshot_policy_id
  • disk_id
Optional arguments
  • id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • region_id
Example
alicloud_ecs_auto_snapshot_policy_attachment {
  name = "ecs_auto_snapshot_policy_attachment";
  auto_snapshot_policy_id = …;  # required
  disk_id = …;  # required
}

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