azurerm_resource_deployment_script_azure_cli

Nivis 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
  • location
  • resource_group_name
  • retention_interval
  • version
Optional arguments
  • cleanup_preference (defaults to null)
  • command_line (defaults to null)
  • force_update_tag (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • primary_script_uri (defaults to null)
  • script_content (defaults to null)
  • supporting_script_uris (defaults to null)
  • tags (defaults to null)
  • timeout (defaults to null)
  • container (defaults to null)
  • environment_variable (defaults to null)
  • identity (defaults to null)
  • storage_account (defaults to null)
  • timeouts (defaults to null)
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.