Merge branch 'master' of https://github.com/Azure/terraform
This commit is contained in:
commit
5e5c122308
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:13 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:10 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 05:54 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 05:50 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 05:34 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v2.99.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
+ provider registry.terraform.io/hashicorp/tls v4.0.4
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:11 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 05:36 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/azure/azapi v0.1.0
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.0.2
|
||||
+ provider registry.terraform.io/hashicorp/random v3.1.2
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:09 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 05:29 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/azure/azapi v0.1.0
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.0.2
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:05 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 06:01 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:23 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 05:36 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 04:57 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 05:30 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azuread v2.39.0
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v2.99.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 04:56 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 05:31 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azuread v2.39.0
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v2.99.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 04:56 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 05:31 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 04:55 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 03:37 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 04:53 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 05:27 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 04:49 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 05:25 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 04:47 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 05:10 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 04:32 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 04:55 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 04:17 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 04:41 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 04:04 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 04:27 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 03:49 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 04:13 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 03:36 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 03:59 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 03:22 UTC
|
||||
|
||||
Success: true
|
||||
|
34
quickstart/101-databricks-cmk-dbfs/TestRecord.md
Normal file
34
quickstart/101-databricks-cmk-dbfs/TestRecord.md
Normal file
@ -0,0 +1,34 @@
|
||||
## 04 Jun 23 03:45 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 31 May 23 01:36 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.58.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
101
quickstart/101-databricks-cmk-dbfs/main.tf
Normal file
101
quickstart/101-databricks-cmk-dbfs/main.tf
Normal file
@ -0,0 +1,101 @@
|
||||
# Create resource group.
|
||||
resource "random_pet" "rg_name" {
|
||||
prefix = var.resource_group_name_prefix
|
||||
}
|
||||
|
||||
resource "azurerm_resource_group" "rg" {
|
||||
name = random_pet.rg_name.id
|
||||
location = var.resource_group_location
|
||||
}
|
||||
|
||||
data "azurerm_client_config" "current" {}
|
||||
|
||||
locals {
|
||||
current_user_id = coalesce(var.msi_id, data.azurerm_client_config.current.object_id)
|
||||
}
|
||||
|
||||
resource "random_pet" "azurerm_databricks_workspace_name" {
|
||||
count = var.workspace_name == null || var.workspace_name == "" ? 1 : 0
|
||||
prefix = var.workspace_name_prefix
|
||||
}
|
||||
|
||||
# Create workspace.
|
||||
resource "azurerm_databricks_workspace" "databricks" {
|
||||
name = coalesce(var.workspace_name, random_pet.azurerm_databricks_workspace_name[0].id)
|
||||
resource_group_name = azurerm_resource_group.rg.name
|
||||
location = azurerm_resource_group.rg.location
|
||||
sku = var.wssku
|
||||
customer_managed_key_enabled = true
|
||||
}
|
||||
|
||||
# Configure CMK.
|
||||
resource "azurerm_databricks_workspace_customer_managed_key" "cmk" {
|
||||
workspace_id = azurerm_databricks_workspace.databricks.id
|
||||
key_vault_key_id = azurerm_key_vault_key.key.id
|
||||
|
||||
depends_on = [azurerm_key_vault_access_policy.databricks]
|
||||
}
|
||||
|
||||
resource "random_pet" "azurerm_key_vault_name" {
|
||||
count = var.key_vault_name == null || var.key_vault_name == "" ? 1 : 0
|
||||
prefix = var.key_vault_name_prefix
|
||||
}
|
||||
|
||||
# Create Key Vault.
|
||||
resource "azurerm_key_vault" "vault" {
|
||||
name = coalesce(var.key_vault_name, random_pet.azurerm_key_vault_name[0].id)
|
||||
location = azurerm_resource_group.rg.location
|
||||
resource_group_name = azurerm_resource_group.rg.name
|
||||
tenant_id = data.azurerm_client_config.current.tenant_id
|
||||
sku_name = var.sku_name
|
||||
purge_protection_enabled = true
|
||||
soft_delete_retention_days = 7
|
||||
}
|
||||
|
||||
resource "random_pet" "azurerm_key_vault_key_name" {
|
||||
count = var.key_name == null || var.key_name == "" ? 1 : 0
|
||||
prefix = var.key_name_prefix
|
||||
}
|
||||
|
||||
# Create Key Vault access policy.
|
||||
resource "azurerm_key_vault_access_policy" "current_user" {
|
||||
key_vault_id = azurerm_key_vault.vault.id
|
||||
tenant_id = data.azurerm_client_config.current.tenant_id
|
||||
object_id = local.current_user_id
|
||||
|
||||
key_permissions = var.key_permissions
|
||||
secret_permissions = var.secret_permissions
|
||||
}
|
||||
|
||||
# Create Key Vault key.
|
||||
resource "azurerm_key_vault_key" "key" {
|
||||
name = coalesce(var.key_name, random_pet.azurerm_key_vault_key_name[0].id)
|
||||
key_vault_id = azurerm_key_vault.vault.id
|
||||
key_type = var.key_type
|
||||
key_size = var.key_size
|
||||
|
||||
key_opts = var.key_opts
|
||||
|
||||
rotation_policy {
|
||||
automatic {
|
||||
time_before_expiry = "P30D"
|
||||
}
|
||||
|
||||
expire_after = "P90D"
|
||||
notify_before_expiry = "P29D"
|
||||
}
|
||||
|
||||
depends_on = [azurerm_key_vault_access_policy.current_user]
|
||||
}
|
||||
|
||||
# Create access policy.
|
||||
resource "azurerm_key_vault_access_policy" "databricks" {
|
||||
key_vault_id = azurerm_key_vault.vault.id
|
||||
tenant_id = azurerm_databricks_workspace.databricks.storage_account_identity[0].tenant_id
|
||||
object_id = azurerm_databricks_workspace.databricks.storage_account_identity[0].principal_id
|
||||
key_permissions = [
|
||||
"Get",
|
||||
"UnwrapKey",
|
||||
"WrapKey",
|
||||
]
|
||||
}
|
19
quickstart/101-databricks-cmk-dbfs/outputs.tf
Normal file
19
quickstart/101-databricks-cmk-dbfs/outputs.tf
Normal file
@ -0,0 +1,19 @@
|
||||
output "resource_group_name" {
|
||||
value = azurerm_resource_group.rg.name
|
||||
}
|
||||
|
||||
output "azurerm_key_vault_name" {
|
||||
value = azurerm_key_vault.vault.name
|
||||
}
|
||||
|
||||
output "azurerm_key_vault_id" {
|
||||
value = azurerm_key_vault.vault.id
|
||||
}
|
||||
|
||||
output "azurerm_databricks_workspace_name" {
|
||||
value = azurerm_databricks_workspace.databricks.name
|
||||
}
|
||||
|
||||
output "azurerm_databricks_workspace_id" {
|
||||
value = azurerm_databricks_workspace.databricks.id
|
||||
}
|
16
quickstart/101-databricks-cmk-dbfs/providers.tf
Normal file
16
quickstart/101-databricks-cmk-dbfs/providers.tf
Normal file
@ -0,0 +1,16 @@
|
||||
terraform {
|
||||
required_version = ">=1.0"
|
||||
required_providers {
|
||||
azurerm = {
|
||||
source = "hashicorp/azurerm"
|
||||
version = "~>3.0"
|
||||
}
|
||||
random = {
|
||||
source = "hashicorp/random"
|
||||
version = "~>3.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
provider "azurerm" {
|
||||
features {}
|
||||
}
|
39
quickstart/101-databricks-cmk-dbfs/readme.md
Normal file
39
quickstart/101-databricks-cmk-dbfs/readme.md
Normal file
@ -0,0 +1,39 @@
|
||||
# Azure Databricks CMK for DBFS
|
||||
|
||||
This template configures customer managed keys (CMK) for DBFS.
|
||||
|
||||
## Terraform resource types
|
||||
|
||||
- [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet)
|
||||
- [azurerm_resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group)
|
||||
- [azurerm_client_config](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config.html)
|
||||
- [azurerm_databricks_workspace](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/databricks_workspace)
|
||||
- [azurerm_databricks_workspace_customer_managed_key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/databricks_workspace_customer_managed_key)
|
||||
- [azurerm_key_vault](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault)
|
||||
- [azurerm_key_vault_key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_key)
|
||||
- [azurerm_key_vault_access_policy](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_access_policy)
|
||||
|
||||
## Variables
|
||||
|
||||
| Name | Description | Default |
|
||||
|-|-|-|
|
||||
| `resource_group_location` | Location of the resource group. | East US 2 |
|
||||
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. | rg |
|
||||
| `workspace_name_prefix` | Prefix of the Azure Databricks Workspace name that's combined with a random ID so name is unique in your Azure subscription. | db |
|
||||
| `workspace_name` | Azure Databricks workspace name. The value is randomly generated if null. | null |
|
||||
| `wssku` | Pricing Tier of the Azure Databricks workspace. | premium |
|
||||
| `key_vault_name_prefix` | Prefix of the Azure Key Vault name that's combined with a random ID so name is unique in your Azure subscription. | vault |
|
||||
| `key_vault_name` | Name of new key vault. The value is randomly generated if null. | null |
|
||||
| `sku_name` | SKU tier of Azure Key Vault | premium |
|
||||
| `key_name_prefix` | Prefix of the Key Vault key name that's combined with a random ID so name is unique in your Azure subscription. | key |
|
||||
| `key_name` | The name of the key to be created. The value is randomly generated if null. | null |
|
||||
| `key_permissions` | List of key permissions. Choose from: Backup, Create, Decrypt, Delete, Encrypt, Get, GetRotationPolicy, Import, List, Purge, Recover, Release, Restore, Rotate, SetRotationPolicy, Sign, UnwrapKey, Update, Verify, WrapKey | ["Create", "Decrypt", "Delete", "Encrypt", "Get", "GetRotationPolicy", "List", "Purge", "Recover", "Restore", "SetRotationPolicy", "Sign", "UnwrapKey", "Update", "Verify", "WrapKey"] |
|
||||
| `secret_permissions` | List of secret permissions. Choose from: Backup, Delete, Get, List, Purge, Recover, Restore, Set. | ["Set"] |
|
||||
| `key_type` | The JsonWebKeyType of the key to be created. Choose from: EC, EC-HSM, RSA, RSA-HSM | RSA |
|
||||
| `key_opts` | The permitted JSON web key operations of the key to be created. Choose from: decrypt, encrypt, sign, unwrapKey, verify, wrapKey. | ["decrypt", "encrypt", "sign", "unwrapKey", "verify", "wrapKey"] |
|
||||
| `key_size` | The size (in bytes) of the key to be created. | 2048 |
|
||||
| `msi_id` | The Managed Service Identity ID. Set this value if you're running this example using Managed Identity as the authentication method. | null |
|
||||
|
||||
## Example
|
||||
|
||||
To see how to run this example, see [Configure customer-managed keys for DBFS using Terraform](https://learn.microsoft.com/en-us/azure/databricks/security/keys/customer-managed-keys-dbfs/cmk-dbfs-terraform).
|
116
quickstart/101-databricks-cmk-dbfs/variables.tf
Normal file
116
quickstart/101-databricks-cmk-dbfs/variables.tf
Normal file
@ -0,0 +1,116 @@
|
||||
variable "resource_group_location" {
|
||||
type = string
|
||||
description = "Location for creating resource."
|
||||
default = "East US 2"
|
||||
}
|
||||
|
||||
variable "resource_group_name_prefix" {
|
||||
type = string
|
||||
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription."
|
||||
default = "rg"
|
||||
}
|
||||
|
||||
variable "workspace_name_prefix" {
|
||||
type = string
|
||||
description = "Prefix of the Azure Databricks workspace name that's combined with a random ID so name is unique in your Azure subscription."
|
||||
default = "db"
|
||||
}
|
||||
|
||||
variable "workspace_name" {
|
||||
type = string
|
||||
description = "Azure Databricks workspace name."
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "wssku" {
|
||||
type = string
|
||||
description = "Pricing Tier of the Azure Databricks workspace."
|
||||
default = "premium"
|
||||
}
|
||||
|
||||
variable "key_vault_name_prefix" {
|
||||
type = string
|
||||
description = "Prefix of the Azure Key Vault name that's combined with a random ID so name is unique in your Azure subscription."
|
||||
default = "vault"
|
||||
}
|
||||
|
||||
variable "key_vault_name" {
|
||||
type = string
|
||||
description = "The name of the key vault to be created. The value will be randomly generated if blank."
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "sku_name" {
|
||||
type = string
|
||||
description = "SKU tier of Azure Key Vault"
|
||||
default = "premium"
|
||||
}
|
||||
|
||||
variable "key_name_prefix" {
|
||||
type = string
|
||||
description = "Prefix of the Key Vault key name that's combined with a random ID so name is unique in your Azure subscription."
|
||||
default = "key"
|
||||
}
|
||||
|
||||
variable "key_name" {
|
||||
type = string
|
||||
description = "The name of the key to be created. The value will be randomly generated if blank."
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "key_permissions" {
|
||||
type = list(string)
|
||||
description = "List of key permissions."
|
||||
default = [
|
||||
"Create",
|
||||
"Decrypt",
|
||||
"Delete",
|
||||
"Encrypt",
|
||||
"Get",
|
||||
"GetRotationPolicy",
|
||||
"List",
|
||||
"Purge",
|
||||
"Recover",
|
||||
"Restore",
|
||||
"SetRotationPolicy",
|
||||
"Sign",
|
||||
"UnwrapKey",
|
||||
"Update",
|
||||
"Verify",
|
||||
"WrapKey"
|
||||
]
|
||||
}
|
||||
|
||||
variable "secret_permissions" {
|
||||
type = list(string)
|
||||
description = "List of secret permissions."
|
||||
default = ["Set"]
|
||||
}
|
||||
|
||||
variable "key_type" {
|
||||
type = string
|
||||
description = "The JsonWebKeyType of the key to be created."
|
||||
default = "RSA"
|
||||
validation {
|
||||
condition = contains(["EC", "EC-HSM", "RSA", "RSA-HSM"], var.key_type)
|
||||
error_message = "The key_type must be one of the following: EC, EC-HSM, RSA, RSA-HSM."
|
||||
}
|
||||
}
|
||||
|
||||
variable "key_opts" {
|
||||
type = list(string)
|
||||
description = "The permitted JSON web key operations of the key to be created."
|
||||
default = ["decrypt", "encrypt", "sign", "unwrapKey", "verify", "wrapKey"]
|
||||
}
|
||||
|
||||
variable "key_size" {
|
||||
type = number
|
||||
description = "The size in bits of the key to be created."
|
||||
default = 2048
|
||||
}
|
||||
|
||||
variable "msi_id" {
|
||||
type = string
|
||||
description = "The Managed Service Identity ID. Set this value if you're running this example using Managed Identity as the authentication method."
|
||||
default = null
|
||||
}
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:34 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 03:07 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 03:33 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v2.99.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 03:04 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 03:02 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 02:33 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 03:01 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 02:32 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 02:38 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 02:11 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 02:36 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/azure/azapi v1.1.0
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.27.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.4.3
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 02:08 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 02:27 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.27.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.4.3
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 02:00 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 02:23 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:56 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 02:18 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:52 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 05:28 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:03 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 02:00 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:44 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:54 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v2.99.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:38 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:54 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:39 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:47 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:33 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:46 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.4.3
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:31 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:44 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:29 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 01:52 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/http v3.3.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:37 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:41 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:27 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:42 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:27 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 01:39 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v2.99.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
+ provider registry.terraform.io/hashicorp/tls v4.0.4
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:25 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:14 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:21 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:30 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:18 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:28 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:16 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:37 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:22 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:26 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:14 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,18 @@
|
||||
## 04 Jun 23 01:15 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:03 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,18 @@
|
||||
## 04 Jun 23 01:15 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:03 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 01:24 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/helm v2.9.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:12 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:13 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.4.3
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:02 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 01:14 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/kubernetes v2.21.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.3.2
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 01:03 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,18 @@
|
||||
## 04 Jun 23 01:03 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:50 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 01:03 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:51 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 01:03 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
+ provider registry.terraform.io/hashicorp/tls v4.0.4
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:50 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:58 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:43 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:50 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:38 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:52 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:38 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:55 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:43 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,24 @@
|
||||
## 04 Jun 23 00:46 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
[0m[1mInitializing the backend...[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mFailed to get existing workspaces: Error retrieving keys for Storage Account "<storage_account_name>": storage.AccountsClient#ListKeys: Invalid input: autorest/validation: validation failed: parameter=resourceGroupName constraint=Pattern value="<storage_account_resource_group>" details: value doesn't match pattern ^[-\w\._\(\)]+$[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:35 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,41 @@
|
||||
## 04 Jun 23 00:46 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/azure/azapi v1.6.0
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
+ provider registry.terraform.io/hashicorp/time v0.9.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 01 Jun 23 01:41 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/azure/azapi v1.6.0
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.58.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
+ provider registry.terraform.io/hashicorp/time v0.9.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:35 UTC
|
||||
|
||||
Success: true
|
||||
|
85
quickstart/201-k8s-cluster-with-tf-and-aks/azure-vote.yaml
Normal file
85
quickstart/201-k8s-cluster-with-tf-and-aks/azure-vote.yaml
Normal file
@ -0,0 +1,85 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: azure-vote-back
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: azure-vote-back
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: azure-vote-back
|
||||
spec:
|
||||
nodeSelector:
|
||||
"kubernetes.io/os": linux
|
||||
containers:
|
||||
- name: azure-vote-back
|
||||
image: mcr.microsoft.com/oss/bitnami/redis:6.0.8
|
||||
env:
|
||||
- name: ALLOW_EMPTY_PASSWORD
|
||||
value: "yes"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
name: redis
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: azure-vote-back
|
||||
spec:
|
||||
ports:
|
||||
- port: 6379
|
||||
selector:
|
||||
app: azure-vote-back
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: azure-vote-front
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: azure-vote-front
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: azure-vote-front
|
||||
spec:
|
||||
nodeSelector:
|
||||
"kubernetes.io/os": linux
|
||||
containers:
|
||||
- name: azure-vote-front
|
||||
image: mcr.microsoft.com/azuredocs/azure-vote-front:v1
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
ports:
|
||||
- containerPort: 80
|
||||
env:
|
||||
- name: REDIS
|
||||
value: "azure-vote-back"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: azure-vote-front
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 80
|
||||
selector:
|
||||
app: azure-vote-front
|
@ -8,36 +8,6 @@ resource "azurerm_resource_group" "rg" {
|
||||
name = random_pet.rg_name.id
|
||||
}
|
||||
|
||||
data "azurerm_client_config" "current" {}
|
||||
|
||||
locals {
|
||||
current_user_id = coalesce(var.msi_id, data.azurerm_client_config.current.object_id)
|
||||
}
|
||||
|
||||
resource "random_pet" "azurerm_log_analytics_workspace_name" {
|
||||
prefix = "ws"
|
||||
}
|
||||
|
||||
resource "azurerm_log_analytics_workspace" "test" {
|
||||
location = var.log_analytics_workspace_location
|
||||
name = random_pet.azurerm_log_analytics_workspace_name.id
|
||||
resource_group_name = azurerm_resource_group.rg.name
|
||||
sku = var.log_analytics_workspace_sku
|
||||
}
|
||||
|
||||
resource "azurerm_log_analytics_solution" "test" {
|
||||
location = azurerm_log_analytics_workspace.test.location
|
||||
resource_group_name = azurerm_resource_group.rg.name
|
||||
solution_name = "ContainerInsights"
|
||||
workspace_name = azurerm_log_analytics_workspace.test.name
|
||||
workspace_resource_id = azurerm_log_analytics_workspace.test.id
|
||||
|
||||
plan {
|
||||
product = "OMSGallery/ContainerInsights"
|
||||
publisher = "Microsoft"
|
||||
}
|
||||
}
|
||||
|
||||
resource "random_pet" "azurerm_kubernetes_cluster_name" {
|
||||
prefix = "cluster"
|
||||
}
|
||||
@ -52,6 +22,10 @@ resource "azurerm_kubernetes_cluster" "k8s" {
|
||||
resource_group_name = azurerm_resource_group.rg.name
|
||||
dns_prefix = random_pet.azurerm_kubernetes_cluster_dns_prefix.id
|
||||
|
||||
identity {
|
||||
type = "SystemAssigned"
|
||||
}
|
||||
|
||||
default_node_pool {
|
||||
name = "agentpool"
|
||||
vm_size = "Standard_D2_v2"
|
||||
@ -68,10 +42,4 @@ resource "azurerm_kubernetes_cluster" "k8s" {
|
||||
network_plugin = "kubenet"
|
||||
load_balancer_sku = "standard"
|
||||
}
|
||||
service_principal {
|
||||
client_id = azuread_service_principal.app.application_id
|
||||
client_secret = azuread_service_principal_password.app.value
|
||||
}
|
||||
|
||||
depends_on = [time_sleep.wait_30_seconds]
|
||||
}
|
@ -6,10 +6,6 @@ output "kubernetes_cluster_name" {
|
||||
value = azurerm_kubernetes_cluster.k8s.name
|
||||
}
|
||||
|
||||
output "log_analytics_workspace_name" {
|
||||
value = azurerm_log_analytics_workspace.test.name
|
||||
}
|
||||
|
||||
output "client_certificate" {
|
||||
value = azurerm_kubernetes_cluster.k8s.kube_config[0].client_certificate
|
||||
sensitive = true
|
||||
|
@ -9,12 +9,8 @@ This template provisions an [AKS / Azure Kubernetes service (also known as a Man
|
||||
- [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet)
|
||||
- [azurerm_resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group)
|
||||
- [azurerm_client_config](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config)
|
||||
- [azurerm_log_analytics_workspace](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/log_analytics_workspace)
|
||||
- [azurerm_log_analytics_solution](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/log_analytics_solution)
|
||||
- [azurerm_kubernetes_cluster](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster)
|
||||
- [azuread_application](https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/data-sources/application)
|
||||
- [azuread_service_principal](https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/data-sources/service_principal)
|
||||
- [azuread_service_principal_password](https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/resources/service_principal_password)
|
||||
- [azapi_resource](https://registry.terraform.io/providers/Azure/azapi/latest/docs/resources/azapi_resource)
|
||||
- [azapi_resource_action](https://registry.terraform.io/providers/Azure/azapi/latest/docs/resources/azapi_resource_action)
|
||||
|
||||
@ -25,8 +21,7 @@ This template provisions an [AKS / Azure Kubernetes service (also known as a Man
|
||||
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. | rg |
|
||||
| `resource_group_location` | Location of the resource group. | eastus |
|
||||
| `node_count` | Initial number of nodes which should exist in this Node Pool. Value must be between 1 and 1000. | 3 |
|
||||
| `log_analytics_workspace_location` | Location of the Log Analytics workspace. | eastus |
|
||||
| `log_analytics_workspace_sku` | SKU of the Log Analytics workspace. The SKU of the log analytics workspace. Choose from: Free, PerNode, Premium, Standard, Standalone, Unlimited, CapacityReservation, PerGB2018 | PerGB2018 |
|
||||
| `msi_id` | The Managed Service Identity ID. Set this value if you're running this example using Managed Identity as the authentication method. | null |
|
||||
|
||||
## Example
|
||||
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Create Azure AD App Registration
|
||||
resource "azuread_application" "app" {
|
||||
display_name = "my-app"
|
||||
owners = [local.current_user_id]
|
||||
}
|
||||
|
||||
# Create Service Principal
|
||||
resource "azuread_service_principal" "app" {
|
||||
application_id = azuread_application.app.application_id
|
||||
app_role_assignment_required = true
|
||||
owners = [local.current_user_id]
|
||||
}
|
||||
|
||||
# Create Service Principal password
|
||||
resource "azuread_service_principal_password" "app" {
|
||||
service_principal_id = azuread_service_principal.app.id
|
||||
}
|
||||
|
||||
# Sleep for 30 seconds to allow for propagation
|
||||
# of the Service Principal creation before attempting
|
||||
# to create the AKS cluster.
|
||||
resource "time_sleep" "wait_30_seconds" {
|
||||
create_duration = "30s"
|
||||
|
||||
depends_on = [azuread_service_principal_password.app]
|
||||
}
|
||||
|
||||
# Output the Service Principal and password
|
||||
output "sp" {
|
||||
value = azuread_service_principal.app.id
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
output "sp_password" {
|
||||
value = azuread_service_principal_password.app.value
|
||||
sensitive = true
|
||||
}
|
@ -16,29 +16,8 @@ variable "node_count" {
|
||||
default = 3
|
||||
}
|
||||
|
||||
# For available Log Analytics regions, refer to:
|
||||
# https://azure.microsoft.com/global-infrastructure/services/?products=monitor
|
||||
variable "log_analytics_workspace_location" {
|
||||
type = string
|
||||
default = "eastus"
|
||||
description = "Location of the Log Analytics workspace."
|
||||
}
|
||||
|
||||
# For Log Analytics pricing, refer to:
|
||||
# https://azure.microsoft.com/pricing/details/monitor
|
||||
variable "log_analytics_workspace_sku" {
|
||||
type = string
|
||||
description = "The SKU of the Log Analytics workspace. Choose from: Free, PerNode, Premium, Standard, Standalone, Unlimited, CapacityReservation, PerGB2018"
|
||||
default = "PerGB2018"
|
||||
|
||||
validation {
|
||||
condition = contains(["Free", "PerNode", "Premium", "Standard", "Standalone", "Unlimited", "CapacityReservation", "PerGB2018"], var.log_analytics_workspace_sku)
|
||||
error_message = "The Log Analytics workspace SKU must be one of the following: Free, PerNode, Premium, Standard, Standalone, Unlimited, CapacityReservation, PerGB2018"
|
||||
}
|
||||
}
|
||||
|
||||
variable "msi_id" {
|
||||
type = string
|
||||
description = "The Managed Service Identity ID used to create the service principal. If this value is null (the default), the AzureRM provider configuration Object ID is used.."
|
||||
description = "The Managed Service Identity ID. Set this value if you're running this example using Managed Identity as the authentication method."
|
||||
default = null
|
||||
}
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 00:36 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.0.2
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
+ provider registry.terraform.io/orobix/azureml v0.0.5
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:48 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:36 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:36 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:26 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,18 @@
|
||||
## 04 Jun 23 00:23 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:23 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.32.0
|
||||
+ provider registry.terraform.io/hashicorp/http v3.3.0
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,22 @@
|
||||
## 04 Jun 23 00:30 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/local v2.3.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
+ provider registry.terraform.io/hashicorp/tls v4.0.4
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:19 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,18 @@
|
||||
## 04 Jun 23 00:19 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:10 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:23 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:18 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v2.99.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:09 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,32 @@
|
||||
## 04 Jun 23 00:17 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
[0m[1mInitializing the backend...[0m
|
||||
[31m[0mThere are some problems with the configuration, described below.
|
||||
|
||||
The Terraform configuration must be valid before initialization so that
|
||||
Terraform can determine which modules and providers need to be installed.[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mDuplicate variable declaration[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 16:
|
||||
[31m│[0m [0m 16: [4mvariable "resource_group_name"[0m {[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mA variable named "resource_group_name" was already declared at
|
||||
[31m│[0m [0mvariables.tf:11,1-31. Variable names must be unique within a module.
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 00:09 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:17 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:29 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:19 UTC
|
||||
|
||||
Success: true
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v3.59.0
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:32 UTC
|
||||
|
||||
Success: true
|
||||
|
@ -1,3 +1,18 @@
|
||||
## 04 Jun 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,36 @@
|
||||
## 04 Jun 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
[0m[1mInitializing the backend...[0m
|
||||
|
||||
[0m[1mInitializing provider plugins...[0m
|
||||
- Finding latest version of telemaco019/azureml...
|
||||
- Finding hashicorp/azurerm versions matching "2.78.0"...
|
||||
- Finding latest version of hashicorp/random...
|
||||
- Installing telemaco019/azureml v0.0.5...
|
||||
- Installing hashicorp/azurerm v2.78.0...
|
||||
- Installed hashicorp/azurerm v2.78.0 (signed by HashiCorp)
|
||||
- Installing hashicorp/random v3.5.1...
|
||||
- Installed hashicorp/random v3.5.1 (signed by HashiCorp)
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mFailed to install provider[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0mError while installing telemaco019/azureml v0.0.5: checksum list has no
|
||||
[31m│[0m [0mSHA-256 hash for
|
||||
[31m│[0m [0m"https://github.com/orobix/terraform-provider-azureml/releases/download/v0.0.5/terraform-provider-azureml_0.0.5_linux_amd64.zip"
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,179 @@
|
||||
## 04 Jun 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
[0m[1mInitializing the backend...[0m
|
||||
[31m[0mThere are some problems with the configuration, described below.
|
||||
|
||||
The Terraform configuration must be valid before initialization so that
|
||||
Terraform can determine which modules and providers need to be installed.[0m[0m
|
||||
[33m[33m╷[0m[0m
|
||||
[33m│[0m [0m[1m[33mWarning: [0m[0m[1mQuoted references are deprecated[0m
|
||||
[33m│[0m [0m
|
||||
[33m│[0m [0m[0m on aks.tf line 6, in resource "azurerm_kubernetes_cluster" "default":
|
||||
[33m│[0m [0m 6: depends_on = [[4m"azurerm_role_assignment.default"[0m][0m
|
||||
[33m│[0m [0m
|
||||
[33m│[0m [0mIn this context, references are expected literally rather than in quotes.
|
||||
[33m│[0m [0mTerraform 0.11 and earlier required quotes, but quoted references are now
|
||||
[33m│[0m [0mdeprecated and will be removed in a future version of Terraform. Remove the
|
||||
[33m│[0m [0mquotes surrounding this reference to silence this warning.
|
||||
[33m│[0m [0m
|
||||
[33m│[0m [0m(and 2 more similar warnings elsewhere)
|
||||
[33m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 3, in variable "name":
|
||||
[31m│[0m [0m 3: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 9, in variable "environment":
|
||||
[31m│[0m [0m 9: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 17, in variable "location":
|
||||
[31m│[0m [0m 17: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 25, in variable "node_count":
|
||||
[31m│[0m [0m 25: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 31, in variable "node_type":
|
||||
[31m│[0m [0m 31: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 37, in variable "node_os":
|
||||
[31m│[0m [0m 37: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 43, in variable "dns_prefix":
|
||||
[31m│[0m [0m 43: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 51, in variable "vnet_address_space":
|
||||
[31m│[0m [0m 51: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 57, in variable "vnet_aks_subnet_space":
|
||||
[31m│[0m [0m 57: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 63, in variable "vnet_ingress_subnet_space":
|
||||
[31m│[0m [0m 63: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 69, in variable "vnet_gateway_subnet_space":
|
||||
[31m│[0m [0m 69: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 75, in variable "ingress_load_balancer_ip":
|
||||
[31m│[0m [0m 75: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mInvalid quoted type constraints[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0m on variables.tf line 82, in variable "gateway_instance_count":
|
||||
[31m│[0m [0m 82: type = [4m"string"[0m[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0mTerraform 0.11 and earlier required type constraints to be given in quotes,
|
||||
[31m│[0m [0mbut that form is now deprecated and will be removed in a future version of
|
||||
[31m│[0m [0mTerraform. Remove the quotes around "string".
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,20 @@
|
||||
## 04 Jun 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v2.99.0
|
||||
+ provider registry.terraform.io/hashicorp/null v3.2.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,18 @@
|
||||
## 04 Jun 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,18 @@
|
||||
## 04 Jun 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,19 @@
|
||||
## 04 Jun 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v2.99.0
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,36 @@
|
||||
## 04 Jun 23 00:14 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
[0m[1mInitializing the backend...[0m
|
||||
|
||||
[0m[1mInitializing provider plugins...[0m
|
||||
- Finding hashicorp/azurerm versions matching "2.78.0"...
|
||||
- Finding latest version of telemaco019/azureml...
|
||||
- Finding latest version of hashicorp/random...
|
||||
- Installing hashicorp/azurerm v2.78.0...
|
||||
- Installed hashicorp/azurerm v2.78.0 (signed by HashiCorp)
|
||||
- Installing telemaco019/azureml v0.0.5...
|
||||
- Installing hashicorp/random v3.5.1...
|
||||
- Installed hashicorp/random v3.5.1 (signed by HashiCorp)
|
||||
[31m[31m╷[0m[0m
|
||||
[31m│[0m [0m[1m[31mError: [0m[0m[1mFailed to install provider[0m
|
||||
[31m│[0m [0m
|
||||
[31m│[0m [0m[0mError while installing telemaco019/azureml v0.0.5: checksum list has no
|
||||
[31m│[0m [0mSHA-256 hash for
|
||||
[31m│[0m [0m"https://github.com/orobix/terraform-provider-azureml/releases/download/v0.0.5/terraform-provider-azureml_0.0.5_linux_amd64.zip"
|
||||
[31m╵[0m[0m
|
||||
[0m[0m
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 00:13 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azuread v2.39.0
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v1.36.1
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,21 @@
|
||||
## 04 Jun 23 00:13 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azuread v2.39.0
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v1.36.1
|
||||
+ provider registry.terraform.io/hashicorp/random v3.5.1
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
@ -1,3 +1,19 @@
|
||||
## 04 Jun 23 00:11 UTC
|
||||
|
||||
Success: false
|
||||
|
||||
### Versions
|
||||
|
||||
Terraform v1.4.6
|
||||
on linux_amd64
|
||||
+ provider registry.terraform.io/hashicorp/azurerm v2.56.0
|
||||
|
||||
### Error
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 28 May 23 05:26 UTC
|
||||
|
||||
Success: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user