aws_lightsail_disk_attachment

Nivis Nix constructor for the aws_lightsail_disk_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,
  disk_name,
  disk_path,
  instance_name,
  id ? null,
  region ? null,
  overrides ? {}
}
Required arguments
  • disk_name
  • disk_path
  • instance_name
Optional arguments
  • id (defaults to null)
  • region (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
aws_lightsail_disk_attachment {
  name = "lightsail_disk_attachment";
  disk_name = …;  # required
  disk_path = …;  # required
  instance_name = …;  # required
}

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