azurerm_marketplace_role_assignmentNivis Nix constructor for the azurerm_marketplace_role_assignment resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
principal_id,
condition ? null,
condition_version ? null,
delegated_managed_identity_resource_id ? null,
description ? null,
id ? null,
cfg_name ? null,
role_definition_id ? null,
role_definition_name ? null,
skip_service_principal_aad_check ? null,
timeouts ? null,
overrides ? {}
}Required arguments
principal_id
Optional arguments
condition(defaults tonull)condition_version(defaults tonull)delegated_managed_identity_resource_id(defaults tonull)description(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)role_definition_id(defaults tonull)role_definition_name(defaults tonull)skip_service_principal_aad_check(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
principal_type
Example
azurerm_marketplace_role_assignment {
name = "marketplace_role_assignment";
principal_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.