google_apphub_workload

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

Constructor
{
  name,
  application_id,
  discovered_workload,
  location,
  workload_id,
  deletion_policy ? null,
  description ? null,
  display_name ? null,
  id ? null,
  project ? null,
  attributes ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • application_id
  • discovered_workload
  • location
  • workload_id
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • display_name (defaults to null)
  • id (defaults to null)
  • project (defaults to null)
  • attributes (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • name
  • state
  • uid
  • update_time
  • workload_properties
  • workload_reference
Example
google_apphub_workload {
  name = "apphub_workload";
  application_id = …;  # required
  discovered_workload = …;  # required
  location = …;  # required
  workload_id = …;  # required
}

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