Skip to content

volocloud_tenancy_account_azure

Example Usage

data "volocloud_tenancy_account_azure" "example" {
  tenancy_account_id = "00000000-0000-0000-0000-000000000000"
  tenancy_id         = "00000000-0000-0000-0000-000000000000"
}

Schema

Required

  • tenancy_account_id (String) Volocloud tenancy_account ID.
  • tenancy_id (String) Volocloud tenancy ID associated with this tenancy_account.

Read-Only

  • account_id (String) Volocloud Account ID associated with this tenancy_account.
  • configuration (Attributes) Provides configuration required to setup the tenancy_account. (see below for nested schema)
  • environment (String) Environment for the tenancy_account. MUST be one of dev, test, qa or prod.
  • id (String) ID of the resource computed from the account_id, tenancy_id and tenancy_account_id separated by ':' .
  • name (String) Volocloud tenancy_account Name.
  • resources (Map of String) These are all the resources created in the tenancy.

Nested Schema for configuration

Required:

  • billing (Attributes) Provides Azure billing details to use for this subscription. (see below for nested schema)
  • regions (Attributes) Defines which regions to deploy into. (see below for nested schema)
  • vnet_template (Attributes) Network template for configuring subnets inside VNET. Exactly one of nc2 or standard MUST be provided. (see below for nested schema)

Optional:

Read-Only:

  • abbreviation (String) This abbreviation will be used to uniquily identify resources created. Only applies to resources that require Azure global uniqueness.
  • tags (Map of String) Key-value map of resource tags for all the tenancy resources.

Nested Schema for configuration.billing

Required:

  • account_type (String) Microsoft Azure Billing Account type. Possible values are ea, mca or mpa.

Optional:

  • account_id (String) Microsoft Customer Agreement billing invoice id or Microsoft Enterprise Agreement billing enrollment id.
  • existing_subscription_id (String) Existing subscription id to be used.
  • workload (String) Provides the workload to use when creating subscription under MCA or EA. It defaults to Production.

Nested Schema for configuration.regions

Required:

Optional:

  • other (Attributes List) A list of Non-Home geographies containing a pair of primary/secondary regions in each geography. (see below for nested schema)

Nested Schema for configuration.regions.home

Required:

Optional:

Nested Schema for configuration.regions.home.primary

Required:

  • location (String) The Azure location of the region. Possible values are [australiacentral australiacentral2 australiaeast australiasoutheast austriaeast brazilsouth brazilsoutheast canadacentral canadaeast centralindia centralus chilecentral chinaeast chinaeast2 chinanorth chinanorth2 eastasia eastus eastus2 francecentral francesouth germanynorth germanywestcentral indonesiacentral israelcentral italynorth japaneast japanwest koreacentral koreasouth malaysiawest mexicocentral newzealandnorth northcentralus northeurope norwayeast norwaywest polandcentral qatarcentral southafricanorth southafricawest southcentralus southeastasia southindia spaincentral swedencentral switzerlandnorth switzerlandwest uaecentral uaenorth uksouth ukwest usdodcentral usdodeast usgovarizona usgovtexas usgovvirginia westcentralus westeurope westindia westus westus2 westus3].
  • network (Attributes) This information is used to deploy a network in this tenancy account associated with the landing zone. (see below for nested schema)
  • region (String) The Azure region code of the location. Possible values are [aecc aenn apee apse atee auc2 aucc auee ause brse brss cacc caee chnn chww clee cne2 cnee cnn2 cnnn decw denn escc eunn euww frcc frss gbss gbww idcc ilcc incc inss inww itnn jpee jpww krcc krss mxcc myww noee noww nznn plcc qacc secc uscc uscn uscs uscw usdc usde use2 usee usgc usge usgw usw2 usw3 usww zann zaww].

Nested Schema for configuration.regions.home.primary.network

Required:

  • enabled (Boolean) If enabled, it will deploy a network in this tenancy account associated with the landing zone.

Optional:

  • ip_address_mask (Number) The base IP Network Mask for this tenancy account (e.g. 24). If provided, it MUST be between 22 and 26. CANNOT be changed after creation without destroying everything running on top of the network. Defaults to 24.

Nested Schema for configuration.regions.home.secondary

Required:

  • location (String) The Azure location of the region. Possible values are [australiacentral australiacentral2 australiaeast australiasoutheast austriaeast brazilsouth brazilsoutheast canadacentral canadaeast centralindia centralus chilecentral chinaeast chinaeast2 chinanorth chinanorth2 eastasia eastus eastus2 francecentral francesouth germanynorth germanywestcentral indonesiacentral israelcentral italynorth japaneast japanwest koreacentral koreasouth malaysiawest mexicocentral newzealandnorth northcentralus northeurope norwayeast norwaywest polandcentral qatarcentral southafricanorth southafricawest southcentralus southeastasia southindia spaincentral swedencentral switzerlandnorth switzerlandwest uaecentral uaenorth uksouth ukwest usdodcentral usdodeast usgovarizona usgovtexas usgovvirginia westcentralus westeurope westindia westus westus2 westus3].
  • network (Attributes) This information is used to deploy a network in this tenancy account associated with the landing zone. (see below for nested schema)
  • region (String) The Azure region code of the location. Possible values are [aecc aenn apee apse atee auc2 aucc auee ause brse brss cacc caee chnn chww clee cne2 cnee cnn2 cnnn decw denn escc eunn euww frcc frss gbss gbww idcc ilcc incc inss inww itnn jpee jpww krcc krss mxcc myww noee noww nznn plcc qacc secc uscc uscn uscs uscw usdc usde use2 usee usgc usge usgw usw2 usw3 usww zann zaww].

Nested Schema for configuration.regions.home.secondary.network

Required:

  • enabled (Boolean) If enabled, it will deploy a network in this tenancy account associated with the landing zone.

Optional:

  • ip_address_mask (Number) The base IP Network Mask for this tenancy account (e.g. 24). If provided, it MUST be between 22 and 26. CANNOT be changed after creation without destroying everything running on top of the network. Defaults to 24.

Nested Schema for configuration.regions.other

Required:

Optional:

Nested Schema for configuration.regions.other.primary

Required:

  • location (String) The Azure location of the region. Possible values are [australiacentral australiacentral2 australiaeast australiasoutheast austriaeast brazilsouth brazilsoutheast canadacentral canadaeast centralindia centralus chilecentral chinaeast chinaeast2 chinanorth chinanorth2 eastasia eastus eastus2 francecentral francesouth germanynorth germanywestcentral indonesiacentral israelcentral italynorth japaneast japanwest koreacentral koreasouth malaysiawest mexicocentral newzealandnorth northcentralus northeurope norwayeast norwaywest polandcentral qatarcentral southafricanorth southafricawest southcentralus southeastasia southindia spaincentral swedencentral switzerlandnorth switzerlandwest uaecentral uaenorth uksouth ukwest usdodcentral usdodeast usgovarizona usgovtexas usgovvirginia westcentralus westeurope westindia westus westus2 westus3].
  • network (Attributes) This information is used to deploy a network in this tenancy account associated with the landing zone. (see below for nested schema)
  • region (String) The Azure region code of the location. Possible values are [aecc aenn apee apse atee auc2 aucc auee ause brse brss cacc caee chnn chww clee cne2 cnee cnn2 cnnn decw denn escc eunn euww frcc frss gbss gbww idcc ilcc incc inss inww itnn jpee jpww krcc krss mxcc myww noee noww nznn plcc qacc secc uscc uscn uscs uscw usdc usde use2 usee usgc usge usgw usw2 usw3 usww zann zaww].

Nested Schema for configuration.regions.other.primary.network

Required:

  • enabled (Boolean) If enabled, it will deploy a network in this tenancy account associated with the landing zone.

Optional:

  • ip_address_mask (Number) The base IP Network Mask for this tenancy account (e.g. 24). If provided, it MUST be between 22 and 26. CANNOT be changed after creation without destroying everything running on top of the network. Defaults to 24.

Nested Schema for configuration.regions.other.secondary

Required:

  • location (String) The Azure location of the region. Possible values are [australiacentral australiacentral2 australiaeast australiasoutheast austriaeast brazilsouth brazilsoutheast canadacentral canadaeast centralindia centralus chilecentral chinaeast chinaeast2 chinanorth chinanorth2 eastasia eastus eastus2 francecentral francesouth germanynorth germanywestcentral indonesiacentral israelcentral italynorth japaneast japanwest koreacentral koreasouth malaysiawest mexicocentral newzealandnorth northcentralus northeurope norwayeast norwaywest polandcentral qatarcentral southafricanorth southafricawest southcentralus southeastasia southindia spaincentral swedencentral switzerlandnorth switzerlandwest uaecentral uaenorth uksouth ukwest usdodcentral usdodeast usgovarizona usgovtexas usgovvirginia westcentralus westeurope westindia westus westus2 westus3].
  • network (Attributes) This information is used to deploy a network in this tenancy account associated with the landing zone. (see below for nested schema)
  • region (String) The Azure region code of the location. Possible values are [aecc aenn apee apse atee auc2 aucc auee ause brse brss cacc caee chnn chww clee cne2 cnee cnn2 cnnn decw denn escc eunn euww frcc frss gbss gbww idcc ilcc incc inss inww itnn jpee jpww krcc krss mxcc myww noee noww nznn plcc qacc secc uscc uscn uscs uscw usdc usde use2 usee usgc usge usgw usw2 usw3 usww zann zaww].

Nested Schema for configuration.regions.other.secondary.network

Required:

  • enabled (Boolean) If enabled, it will deploy a network in this tenancy account associated with the landing zone.

Optional:

  • ip_address_mask (Number) The base IP Network Mask for this tenancy account (e.g. 24). If provided, it MUST be between 22 and 26. CANNOT be changed after creation without destroying everything running on top of the network. Defaults to 24.

Nested Schema for configuration.vnet_template

Optional:

  • avd (Attributes) Settings for deploying subnets required for Azure Virtual Desktop template. (see below for nested schema)
  • custom (Attributes) Settings for deploying fully customized subnets inside the VNET for the region. (see below for nested schema)
  • nc2 (Attributes) Settings for deploying subnets required for Nutanix NC2 template. (see below for nested schema)
  • standard (Attributes) Settings for deploying subnets required for standard template. (see below for nested schema)

Nested Schema for configuration.vnet_template.avd

Required:

  • enabled (Boolean) If enabled, it will deploy the Azure Virtual Desktop network template.

Nested Schema for configuration.vnet_template.custom

Required:

  • enabled (Boolean) If enabled, it will allow customizations of IaaS and PaaS subnets inside the VNET. This is advanced use case and requires the user to provide valid netmasks included in the ip_address_mask provided for the region. This resource doesn't do any IPAM or validation if there is space for the subnets.

Optional:

  • iaas_subnets (Attributes) Configure IaaS subnets. (see below for nested schema)
  • paas_subnets (Attributes) Configure PaaS subnets. (see below for nested schema)
  • vnet_link_to_private_dns_zones (List of String) Provides a list of Azure Private DNS Zones to link to this VNET. The zones must be zones created by the volocloud provider: either PaaS private zones or custom private zones.

Nested Schema for configuration.vnet_template.custom.iaas_subnets

Optional:

Nested Schema for configuration.vnet_template.custom.iaas_subnets.app_tier

Required:

  • ip_address_netnum (Number) Netnum is a whole number that represent the order of the resulting subnet after increasing the bits with newbits. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26. There are 4 x /26 possible resulting subnets and netnum can choose which one by provinding 0, 1, 2 or 3.
  • ip_address_newbits (Number) Newbits is the number of additional bits with which to extend the Region's ip_address_mask. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26.

Optional:

  • delegation (Attributes) Provides details to deleted the subnet to a supported Azure service. (see below for nested schema)
  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.custom.iaas_subnets.app_tier.delegation

Required:

  • name (String) A name for this delegation.
  • service (String) The name of service to delegate to.

Optional:

  • actions (List of String) A list of Actions which should be delegated. This list is specific to the service to delegate to.

Nested Schema for configuration.vnet_template.custom.iaas_subnets.data_tier

Required:

  • ip_address_netnum (Number) Netnum is a whole number that represent the order of the resulting subnet after increasing the bits with newbits. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26. There are 4 x /26 possible resulting subnets and netnum can choose which one by provinding 0, 1, 2 or 3.
  • ip_address_newbits (Number) Newbits is the number of additional bits with which to extend the Region's ip_address_mask. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26.

Optional:

  • delegation (Attributes) Provides details to deleted the subnet to a supported Azure service. (see below for nested schema)
  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.custom.iaas_subnets.data_tier.delegation

Required:

  • name (String) A name for this delegation.
  • service (String) The name of service to delegate to.

Optional:

  • actions (List of String) A list of Actions which should be delegated. This list is specific to the service to delegate to.

Nested Schema for configuration.vnet_template.custom.iaas_subnets.web_tier

Required:

  • ip_address_netnum (Number) Netnum is a whole number that represent the order of the resulting subnet after increasing the bits with newbits. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26. There are 4 x /26 possible resulting subnets and netnum can choose which one by provinding 0, 1, 2 or 3.
  • ip_address_newbits (Number) Newbits is the number of additional bits with which to extend the Region's ip_address_mask. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26.

Optional:

  • delegation (Attributes) Provides details to deleted the subnet to a supported Azure service. (see below for nested schema)
  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.custom.iaas_subnets.web_tier.delegation

Required:

  • name (String) A name for this delegation.
  • service (String) The name of service to delegate to.

Optional:

  • actions (List of String) A list of Actions which should be delegated. This list is specific to the service to delegate to.

Nested Schema for configuration.vnet_template.custom.paas_subnets

Optional:

  • app_tier (Attributes Map) Enables PaaS subnets for app tier services. The map keys CAN be on of: aci, etc. (see below for nested schema)
  • data_tier (Attributes Map) Enables 1 PaaS subnet for data tier services. The map keys CAN be on of: pgsql and sqlmi. (see below for nested schema)
  • web_tier (Attributes Map) Enables 1 PaaS subnet for web tier (internet facing) services. The map keys CAN be on of: agw. (see below for nested schema)

Nested Schema for configuration.vnet_template.custom.paas_subnets.app_tier

Required:

  • delegation (Attributes) Provides details to deleted the subnet to a supported Azure service. (see below for nested schema)
  • ip_address_netnum (Number) Netnum is a whole number that represent the order of the resulting subnet after increasing the bits with newbits. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26. There are 4 x /26 possible resulting subnets and netnum can choose which one by provinding 0, 1, 2 or 3.
  • ip_address_newbits (Number) Newbits is the number of additional bits with which to extend the Region's ip_address_mask. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26.

Optional:

  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.custom.paas_subnets.app_tier.delegation

Required:

  • name (String) A name for this delegation.
  • service (String) The name of service to delegate to.

Optional:

  • actions (List of String) A list of Actions which should be delegated. This list is specific to the service to delegate to.

Nested Schema for configuration.vnet_template.custom.paas_subnets.data_tier

Required:

  • delegation (Attributes) Provides details to deleted the subnet to a supported Azure service. (see below for nested schema)
  • ip_address_netnum (Number) Netnum is a whole number that represent the order of the resulting subnet after increasing the bits with newbits. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26. There are 4 x /26 possible resulting subnets and netnum can choose which one by provinding 0, 1, 2 or 3.
  • ip_address_newbits (Number) Newbits is the number of additional bits with which to extend the Region's ip_address_mask. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26.

Optional:

  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.custom.paas_subnets.data_tier.delegation

Required:

  • name (String) A name for this delegation.
  • service (String) The name of service to delegate to.

Optional:

  • actions (List of String) A list of Actions which should be delegated. This list is specific to the service to delegate to.

Nested Schema for configuration.vnet_template.custom.paas_subnets.web_tier

Required:

  • delegation (Attributes) Provides details to deleted the subnet to a supported Azure service. (see below for nested schema)
  • ip_address_netnum (Number) Netnum is a whole number that represent the order of the resulting subnet after increasing the bits with newbits. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26. There are 4 x /26 possible resulting subnets and netnum can choose which one by provinding 0, 1, 2 or 3.
  • ip_address_newbits (Number) Newbits is the number of additional bits with which to extend the Region's ip_address_mask. For example, if given a /24 and a newbits value of 2, the resulting subnet address will have length /26.

Optional:

  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.custom.paas_subnets.web_tier.delegation

Required:

  • name (String) A name for this delegation.
  • service (String) The name of service to delegate to.

Optional:

  • actions (List of String) A list of Actions which should be delegated. This list is specific to the service to delegate to.

Nested Schema for configuration.vnet_template.nc2

Required:

  • enabled (Boolean) If enabled, it will deploy the NC2 network template.

Nested Schema for configuration.vnet_template.standard

Required:

  • enabled (Boolean) If enabled, it will deploy the standard network template.

Optional:

  • iaas_subnets (Attributes) Configure standard IaaS subnets. (see below for nested schema)
  • paas_subnets (Attributes) Configure PaaS subnets. (see below for nested schema)
  • vnet_link_to_private_dns_zones (List of String) Provides a list of Azure Private DNS Zones to link to this VNET. The zones must be zones created by the volocloud provider: either PaaS private zones or custom private zones.

Nested Schema for configuration.vnet_template.standard.iaas_subnets

Optional:

Nested Schema for configuration.vnet_template.standard.iaas_subnets.app_tier

Optional:

  • delegation (Attributes) Provides details to deleted the subnet to a supported Azure service. (see below for nested schema)
  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.standard.iaas_subnets.app_tier.delegation

Required:

  • name (String) A name for this delegation.
  • service (String) The name of service to delegate to.

Optional:

  • actions (List of String) A list of Actions which should be delegated. This list is specific to the service to delegate to.

Nested Schema for configuration.vnet_template.standard.iaas_subnets.data_tier

Optional:

  • delegation (Attributes) Provides details to deleted the subnet to a supported Azure service. (see below for nested schema)
  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.standard.iaas_subnets.data_tier.delegation

Required:

  • name (String) A name for this delegation.
  • service (String) The name of service to delegate to.

Optional:

  • actions (List of String) A list of Actions which should be delegated. This list is specific to the service to delegate to.

Nested Schema for configuration.vnet_template.standard.iaas_subnets.web_tier

Optional:

  • delegation (Attributes) Provides details to deleted the subnet to a supported Azure service. (see below for nested schema)
  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.standard.iaas_subnets.web_tier.delegation

Required:

  • name (String) A name for this delegation.
  • service (String) The name of service to delegate to.

Optional:

  • actions (List of String) A list of Actions which should be delegated. This list is specific to the service to delegate to.

Nested Schema for configuration.vnet_template.standard.paas_subnets

Optional:

  • app_tier (Attributes Map) Enables up to 3 PaaS subnets for app tier services. The map keys CAN be on of: aci, etc. (see below for nested schema)
  • data_tier (Attributes Map) Enables 1 PaaS subnet for data tier services. The map keys CAN be on of: pgsql and sqlmi. (see below for nested schema)
  • web_tier (Attributes Map) Enables 1 PaaS subnet for web tier (internet facing) services. The map keys CAN be on of: agw. (see below for nested schema)

Nested Schema for configuration.vnet_template.standard.paas_subnets.app_tier

Required:

  • enabled (Boolean) If true, deploys a PaaS subnet in the VNET.

Optional:

  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.standard.paas_subnets.data_tier

Required:

  • enabled (Boolean) If true, deploys a PaaS subnet in the VNET.

Optional:

  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.vnet_template.standard.paas_subnets.web_tier

Required:

  • enabled (Boolean) If true, deploys a PaaS subnet in the VNET.

Optional:

  • service_endpoints (List of String) The list of Service endpoints to associate with the subnet.

Nested Schema for configuration.budgets

Required:

  • amount (Number) The total amount of cost to track with the budget.
  • notifications (Attributes List) One or more notification objects. (see below for nested schema)

Optional:

  • time_grain (String) The time covered by a budget. Tracking of the amount will be reset based on the time grain. Possible values are BillingAnnual, BillingMonth, BillingQuarter, Annually, Monthly and Quarterly. Defaults to Monthly. Changing this forces a new resource to be created.

Nested Schema for configuration.budgets.notifications

Required:

  • contact_emails (List of String) Specifies a list of email addresses to send the budget notification to when the threshold is exceeded.
  • threshold (Number) Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.

Optional:

  • operator (String) The comparison operator for the notification. Possible values are EqualTo, GreaterThan, or GreaterThanOrEqualTo. Defaults to EqualTo.
  • threshold_type (String) The type of threshold for the notification. This determines whether the notification is triggered by forecasted costs or actual costs. The allowed values are Actual and Forecasted. Default is Actual. Changing this forces a new resource to be created.

Nested Schema for configuration.keyvault

Optional:

  • purge_protection_enabled (Boolean) Is Purge Protection enabled for this Key Vault? Defaults to true.
  • sku (String) The Name of the SKU used for this Key Vault. Possible values are standard and premium. Defaults to standard.
  • soft_delete_retention_days (Number) The number of days that items should be retained for once soft-deleted. This field can only be configured one time and cannot be updated. This value can be between 7 and 90 days. Defaults to 90.

Nested Schema for configuration.resource_groups_lock

Optional:

  • baseline (Boolean) Boolean flag to enable/disable RG lock. Defaults to true.
  • rsv (Boolean) Boolean flag to enable/disable RG lock. Defaults to false.