Azure Purview Account
This page shows how to write Terraform for Purview Account and write them securely.
azurerm_purview_account (Terraform)
The Account in Purview can be configured in Terraform with the resource name azurerm_purview_account
. The following sections describe 3 examples of how to use the resource and its parameters.
Example Usage from GitHub
main.tf#L1
resource "azurerm_purview_account" "purview" {
name = var.name
resource_group_name = var.resource_group_name
location = var.location
sku_name = var.sku_name
tags = var.tags
main.tf#L9
resource "azurerm_purview_account" "example" {
for_each = var.purviewAccounts
name = each.value["puviewName"]
resource_group_name = each.value["purviewRgName"]
location = each.value["purviewLocation"]
sku_name = each.value["purviewSku"]
purview.tf#L1
resource "azurerm_purview_account" "pv_account" {
name = "purviewatlaspoc"
resource_group_name = azurerm_resource_group.rg.name
location = azurerm_resource_group.rg.location
sku_name = "Standard_1"
Parameters
-
atlas_kafka_endpoint_primary_connection_string
optional computed - string -
atlas_kafka_endpoint_secondary_connection_string
optional computed - string -
catalog_endpoint
optional computed - string -
guardian_endpoint
optional computed - string -
id
optional computed - string -
identity
optional computed - list of object-
principal_id
- string -
tenant_id
- string -
type
- string
-
-
location
required - string -
name
required - string -
public_network_enabled
optional - bool -
resource_group_name
required - string -
scan_endpoint
optional computed - string -
sku_name
required - string -
tags
optional - map from string to string -
timeouts
single block
Explanation in Terraform Registry
Manages a Purview Account.
Azure Resource Manager Example
Azure Resource Manager code does not have the related resource.
Frequently asked questions
What is Azure Purview Account?
Azure Purview Account is a resource for Purview of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Purview Account?
For Terraform, the AnikG-Org/devops-practice, johhess40/Terraform and jvanbuel/purview-atlas-poc source code examples are useful. See the Terraform Example section for further details.