azurerm_automation_watcherNivis Nix constructor for the azurerm_automation_watcher 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,
automation_account_id,
execution_frequency_in_seconds,
location,
script_name,
script_run_on,
description ? null,
etag ? null,
id ? null,
cfg_name ? null,
script_parameters ? null,
tags ? null,
timeouts ? null,
overrides ? {}
}Required arguments
automation_account_idexecution_frequency_in_secondslocationscript_namescript_run_on
Optional arguments
description(defaults tonull)etag(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)script_parameters(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
status
Example
azurerm_automation_watcher {
name = "automation_watcher";
automation_account_id = …; # required
execution_frequency_in_seconds = …; # required
location = …; # required
script_name = …; # required
script_run_on = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.