azurerm_resource_deployment_script_azure_cliNivis Nix constructor for the azurerm_resource_deployment_script_azure_cli 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,
location,
resource_group_name,
retention_interval,
version,
cleanup_preference ? null,
command_line ? null,
force_update_tag ? null,
id ? null,
cfg_name ? null,
primary_script_uri ? null,
script_content ? null,
supporting_script_uris ? null,
tags ? null,
timeout ? null,
container ? null,
environment_variable ? null,
identity ? null,
storage_account ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_nameretention_intervalversion
Optional arguments
cleanup_preference(defaults tonull)command_line(defaults tonull)force_update_tag(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)primary_script_uri(defaults tonull)script_content(defaults tonull)supporting_script_uris(defaults tonull)tags(defaults tonull)timeout(defaults tonull)container(defaults tonull)environment_variable(defaults tonull)identity(defaults tonull)storage_account(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
outputs
Example
azurerm_resource_deployment_script_azure_cli {
name = "resource_deployment_script_azure_cli";
location = …; # required
resource_group_name = …; # required
retention_interval = …; # required
version = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.