Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong data block is called in the Usage example | https://registry.terraform.io/modules/data-platform-hq/mssql-server/azurerm/latest #16

Open
sushmitapandey opened this issue Sep 3, 2024 · 1 comment

Comments

@sushmitapandey
Copy link

In the Usage example in the https://registry.terraform.io/modules/data-platform-hq/mssql-server/azurerm/latest, the data block in the module mssql_server for the attribute "key_vault_key_id" is incorrect.

data "azurerm_key_vault" "example" {
name = "example"
resource_group_name = "example"
}

data "azurerm_key_vault_key" "example" {
name = "example"
key_vault_id = data.azurerm_key_vault.example.id
}

module "mssql_server" {
source = "data-platform-hq/mssql-server/azurerm"
version = "1.2.0"

project = "datahq"
env = "example"
location = "eastus"
resource_group = "example"
admin_login = "userexample"
admin_password = "passwordexample"
azure_ad_admin_login = "[email protected]"
azure_ad_admin_object_id = ""
ip_rules = {
"example" = "55.55.60.0/24"
}

tde_key_permissions = true
key_vault_id = data.azurerm_key_vault.example.id
key_vault_key_id = data.azurerm_key_vault.example.id --> data.azurerm_key_vault_key.example.id

mssql_defender_state = "Disabled"
}

@owlleg6
Copy link
Contributor

owlleg6 commented Sep 10, 2024

Thanks, will update docs in example!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants