google_securityposture_posture

Nivis Nix constructor for the google_securityposture_posture 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,
  location,
  parent,
  posture_id,
  state,
  deletion_policy ? null,
  description ? null,
  id ? null,
  policy_sets ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • location
  • parent
  • posture_id
  • state
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • policy_sets (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • etag
  • name
  • reconciling
  • revision_id
  • update_time
Example
google_securityposture_posture {
  name = "securityposture_posture";
  location = …;  # required
  parent = …;  # required
  posture_id = …;  # required
  state = …;  # required
}

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