aws_organizations_policy_attachmentNivis Nix constructor for the aws_organizations_policy_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,
policy_id,
target_id,
id ? null,
skip_destroy ? null,
overrides ? {}
}Required arguments
policy_idtarget_id
Optional arguments
id(defaults tonull)skip_destroy(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_organizations_policy_attachment {
name = "organizations_policy_attachment";
policy_id = …; # required
target_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.