» Data Source: azurerm_automation_variable_int

Use this data source to access information about an existing Automation Int Variable.

» Example Usage

data "azurerm_automation_variable_int" "example" {
  name                    = "tfex-example-var"
  resource_group_name     = "tfex-example-rg"
  automation_account_name = "tfex-example-account"
}

output "variable_id" {
  value = "${data.azurerm_automation_variable_int.example.id}"
}

» Argument Reference

The following arguments are supported:

  • name - (Required) The name of the Automation Variable.

  • resource_group_name - (Required) The Name of the Resource Group where the automation account exists.

  • automation_account_name - (Required) The name of the automation account in which the Automation Variable exists.

» Attributes Reference

The following attributes are exported:

  • id - The ID of the Automation Variable.

  • description - The description of the Automation Variable.

  • encrypted - Specifies if the Automation Variable is encrypted. Defaults to false.

  • value - The value of the Automation Variable as a integer.