google_organization_policyNivis Nix constructor for the google_organization_policy 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,
constraint,
org_id,
deletion_policy ? null,
id ? null,
version ? null,
boolean_policy ? null,
list_policy ? null,
restore_policy ? null,
timeouts ? null,
overrides ? {}
}Required arguments
constraintorg_id
Optional arguments
deletion_policy(defaults tonull)id(defaults tonull)version(defaults tonull)boolean_policy(defaults tonull)list_policy(defaults tonull)restore_policy(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
etagupdate_time
Example
google_organization_policy {
name = "organization_policy";
constraint = …; # required
org_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.