google_cloudfunctions2_function_iam_policyNivis Nix constructor for the google_cloudfunctions2_function_iam_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,
cloud_function,
policy_data,
id ? null,
location ? null,
project ? null,
overrides ? {}
}Required arguments
cloud_functionpolicy_data
Optional arguments
id(defaults tonull)location(defaults tonull)project(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
etag
Example
google_cloudfunctions2_function_iam_policy {
name = "cloudfunctions2_function_iam_policy";
cloud_function = …; # required
policy_data = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.