Skip to content

Commit

Permalink
Merge pull request #8 from PerfectThymeTech/marvinbuss/update_descrip…
Browse files Browse the repository at this point in the history
…tions

Update descriptions of variables
  • Loading branch information
marvinbuss authored May 25, 2023
2 parents 9f5ee8b + 69cf627 commit a4ce513
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 30 deletions.
27 changes: 13 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ The following architecture will be deployed by this module, whereby the module e

- An Azure subscription. If you don't have an Azure subscription, [create your Azure free account today](https://azure.microsoft.com/free/).
- (1) [Contributor](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#contributor) and [User Access Administrator](https://learn.microsoft.com/azure/role-based-access-control/built-in-roles#user-access-administrator) or (2) [Owner](https://learn.microsoft.com/azure/role-based-access-control/built-in-roles#owner) access to the subscription to be able to create resources and role assignments.
- [Databricks Account Administrator](https://learn.microsoft.com/en-us/azure/databricks/administration-guide/#--what-are-account-admins) role in the Databricks Account.
- A [GitHub self-hosted runner](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners) or an [Azure DevOps self-hosted agent](https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/linux-agent?view=azure-devops) to be able to access the data-plane of services.

## Usage

We recommend starting with the following configuration in your root module to learn what resources are created by the module and how it works.

```hcl
# Configure Terraform to set the required AzureRM provider
# version and features{} block.
# Configure Terraform to set the required AzureRM provider version and features{} block.
terraform {
required_providers {
Expand Down Expand Up @@ -80,8 +80,7 @@ locals {
private_dns_zone_id_databricks = "/subscriptions/<my-subscription-id>/resourceGroups/<my-rg-name>/providers/Microsoft.Network/privateDnsZones/privatelink.azuredatabricks.net"
}
# Declare the Data Management Terraform module
# and provide a base configuration.
# Declare the Data Management Zone Terraform module and provide a base configuration.
module "data_management_zone" {
source = "PerfectThymeTech/data-management-zone/azurerm"
version = "0.1.1"
Expand Down Expand Up @@ -192,79 +191,79 @@ Default: `"dev"`

### <a name="input_private_dns_zone_id_blob"></a> [private\_dns\_zone\_id\_blob](#input\_private\_dns\_zone\_id\_blob)

Description: Specifies the resource ID of the private DNS zone for Azure Storage blob endpoints.
Description: Specifies the resource ID of the private DNS zone for Azure Storage blob endpoints. Not required if DNS A-records get created via Azue Policy.

Type: `string`

Default: `""`

### <a name="input_private_dns_zone_id_container_registry"></a> [private\_dns\_zone\_id\_container\_registry](#input\_private\_dns\_zone\_id\_container\_registry)

Description: Specifies the resource ID of the private DNS zone for Azure Container Registry.
Description: Specifies the resource ID of the private DNS zone for Azure Container Registry. Not required if DNS A-records get created via Azue Policy.

Type: `string`

Default: `""`

### <a name="input_private_dns_zone_id_databricks"></a> [private\_dns\_zone\_id\_databricks](#input\_private\_dns\_zone\_id\_databricks)

Description: Specifies the resource ID of the private DNS zone for Azure Databricks UI endpoints.
Description: Specifies the resource ID of the private DNS zone for Azure Databricks UI endpoints. Not required if DNS A-records get created via Azue Policy.

Type: `string`

Default: `""`

### <a name="input_private_dns_zone_id_dfs"></a> [private\_dns\_zone\_id\_dfs](#input\_private\_dns\_zone\_id\_dfs)

Description: Specifies the resource ID of the private DNS zone for Azure Storage dfs endpoints.
Description: Specifies the resource ID of the private DNS zone for Azure Storage dfs endpoints. Not required if DNS A-records get created via Azue Policy.

Type: `string`

Default: `""`

### <a name="input_private_dns_zone_id_key_vault"></a> [private\_dns\_zone\_id\_key\_vault](#input\_private\_dns\_zone\_id\_key\_vault)

Description: Specifies the resource ID of the private DNS zone for Azure Key Vault.
Description: Specifies the resource ID of the private DNS zone for Azure Key Vault. Not required if DNS A-records get created via Azue Policy.

Type: `string`

Default: `""`

### <a name="input_private_dns_zone_id_namespace"></a> [private\_dns\_zone\_id\_namespace](#input\_private\_dns\_zone\_id\_namespace)

Description: Specifies the resource ID of the private DNS zone for the EventHub namespace.
Description: Specifies the resource ID of the private DNS zone for the EventHub namespace. Not required if DNS A-records get created via Azue Policy.

Type: `string`

Default: `""`

### <a name="input_private_dns_zone_id_purview_account"></a> [private\_dns\_zone\_id\_purview\_account](#input\_private\_dns\_zone\_id\_purview\_account)

Description: Specifies the resource ID of the private DNS zone for the Purview account.
Description: Specifies the resource ID of the private DNS zone for the Purview account. Not required if DNS A-records get created via Azue Policy.

Type: `string`

Default: `""`

### <a name="input_private_dns_zone_id_purview_portal"></a> [private\_dns\_zone\_id\_purview\_portal](#input\_private\_dns\_zone\_id\_purview\_portal)

Description: Specifies the resource ID of the private DNS zone for the Purview portal.
Description: Specifies the resource ID of the private DNS zone for the Purview portal. Not required if DNS A-records get created via Azue Policy.

Type: `string`

Default: `""`

### <a name="input_private_dns_zone_id_queue"></a> [private\_dns\_zone\_id\_queue](#input\_private\_dns\_zone\_id\_queue)

Description: Specifies the resource ID of the private DNS zone for Azure Storage queue endpoints.
Description: Specifies the resource ID of the private DNS zone for Azure Storage queue endpoints. Not required if DNS A-records get created via Azue Policy.

Type: `string`

Default: `""`

### <a name="input_private_dns_zone_id_synapse_portal"></a> [private\_dns\_zone\_id\_synapse\_portal](#input\_private\_dns\_zone\_id\_synapse\_portal)

Description: Specifies the resource ID of the private DNS zone for Synapse PL Hub.
Description: Specifies the resource ID of the private DNS zone for Synapse PL Hub. Not required if DNS A-records get created via Azue Policy.

Type: `string`

Expand Down
7 changes: 3 additions & 4 deletions README_header.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ The following architecture will be deployed by this module, whereby the module e

- An Azure subscription. If you don't have an Azure subscription, [create your Azure free account today](https://azure.microsoft.com/free/).
- (1) [Contributor](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#contributor) and [User Access Administrator](https://learn.microsoft.com/azure/role-based-access-control/built-in-roles#user-access-administrator) or (2) [Owner](https://learn.microsoft.com/azure/role-based-access-control/built-in-roles#owner) access to the subscription to be able to create resources and role assignments.
- [Databricks Account Administrator](https://learn.microsoft.com/en-us/azure/databricks/administration-guide/#--what-are-account-admins) role in the Databricks Account.
- A [GitHub self-hosted runner](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners) or an [Azure DevOps self-hosted agent](https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/linux-agent?view=azure-devops) to be able to access the data-plane of services.

## Usage

We recommend starting with the following configuration in your root module to learn what resources are created by the module and how it works.

```hcl
# Configure Terraform to set the required AzureRM provider
# version and features{} block.
# Configure Terraform to set the required AzureRM provider version and features{} block.
terraform {
required_providers {
Expand Down Expand Up @@ -79,8 +79,7 @@ locals {
private_dns_zone_id_databricks = "/subscriptions/<my-subscription-id>/resourceGroups/<my-rg-name>/providers/Microsoft.Network/privateDnsZones/privatelink.azuredatabricks.net"
}
# Declare the Data Management Terraform module
# and provide a base configuration.
# Declare the Data Management Zone Terraform module and provide a base configuration.
module "data_management_zone" {
source = "PerfectThymeTech/data-management-zone/azurerm"
version = "0.1.1"
Expand Down
24 changes: 12 additions & 12 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ variable "environment" {
sensitive = false
default = "dev"
validation {
condition = contains(["dev", "tst", "prd"], var.environment)
error_message = "Please use an allowed value: \"dev\", \"tst\" or \"prd\"."
condition = contains(["dev", "tst", "qa", "prd"], var.environment)
error_message = "Please use an allowed value: \"dev\", \"tst\", \"qa\" or \"prd\"."
}
}

Expand Down Expand Up @@ -90,7 +90,7 @@ variable "subnet_cidr_ranges" {
}

variable "private_dns_zone_id_namespace" {
description = "Specifies the resource ID of the private DNS zone for the EventHub namespace."
description = "Specifies the resource ID of the private DNS zone for the EventHub namespace. Not required if DNS A-records get created via Azue Policy."
type = string
sensitive = false
default = ""
Expand All @@ -101,7 +101,7 @@ variable "private_dns_zone_id_namespace" {
}

variable "private_dns_zone_id_purview_account" {
description = "Specifies the resource ID of the private DNS zone for the Purview account."
description = "Specifies the resource ID of the private DNS zone for the Purview account. Not required if DNS A-records get created via Azue Policy."
type = string
sensitive = false
default = ""
Expand All @@ -112,7 +112,7 @@ variable "private_dns_zone_id_purview_account" {
}

variable "private_dns_zone_id_purview_portal" {
description = "Specifies the resource ID of the private DNS zone for the Purview portal."
description = "Specifies the resource ID of the private DNS zone for the Purview portal. Not required if DNS A-records get created via Azue Policy."
type = string
sensitive = false
default = ""
Expand All @@ -123,7 +123,7 @@ variable "private_dns_zone_id_purview_portal" {
}

variable "private_dns_zone_id_blob" {
description = "Specifies the resource ID of the private DNS zone for Azure Storage blob endpoints."
description = "Specifies the resource ID of the private DNS zone for Azure Storage blob endpoints. Not required if DNS A-records get created via Azue Policy."
type = string
sensitive = false
default = ""
Expand All @@ -134,7 +134,7 @@ variable "private_dns_zone_id_blob" {
}

variable "private_dns_zone_id_dfs" {
description = "Specifies the resource ID of the private DNS zone for Azure Storage dfs endpoints."
description = "Specifies the resource ID of the private DNS zone for Azure Storage dfs endpoints. Not required if DNS A-records get created via Azue Policy."
type = string
sensitive = false
default = ""
Expand All @@ -145,7 +145,7 @@ variable "private_dns_zone_id_dfs" {
}

variable "private_dns_zone_id_queue" {
description = "Specifies the resource ID of the private DNS zone for Azure Storage queue endpoints."
description = "Specifies the resource ID of the private DNS zone for Azure Storage queue endpoints. Not required if DNS A-records get created via Azue Policy."
type = string
sensitive = false
default = ""
Expand All @@ -156,7 +156,7 @@ variable "private_dns_zone_id_queue" {
}

variable "private_dns_zone_id_container_registry" {
description = "Specifies the resource ID of the private DNS zone for Azure Container Registry."
description = "Specifies the resource ID of the private DNS zone for Azure Container Registry. Not required if DNS A-records get created via Azue Policy."
type = string
sensitive = false
default = ""
Expand All @@ -167,7 +167,7 @@ variable "private_dns_zone_id_container_registry" {
}

variable "private_dns_zone_id_synapse_portal" {
description = "Specifies the resource ID of the private DNS zone for Synapse PL Hub."
description = "Specifies the resource ID of the private DNS zone for Synapse PL Hub. Not required if DNS A-records get created via Azue Policy."
type = string
sensitive = false
default = ""
Expand All @@ -178,7 +178,7 @@ variable "private_dns_zone_id_synapse_portal" {
}

variable "private_dns_zone_id_key_vault" {
description = "Specifies the resource ID of the private DNS zone for Azure Key Vault."
description = "Specifies the resource ID of the private DNS zone for Azure Key Vault. Not required if DNS A-records get created via Azue Policy."
type = string
sensitive = false
default = ""
Expand All @@ -189,7 +189,7 @@ variable "private_dns_zone_id_key_vault" {
}

variable "private_dns_zone_id_databricks" {
description = "Specifies the resource ID of the private DNS zone for Azure Databricks UI endpoints."
description = "Specifies the resource ID of the private DNS zone for Azure Databricks UI endpoints. Not required if DNS A-records get created via Azue Policy."
type = string
sensitive = false
default = ""
Expand Down

0 comments on commit a4ce513

Please sign in to comment.