Skip to content

Commit

Permalink
DOM-16936: Update some deprecated attributes (#4)
Browse files Browse the repository at this point in the history
* Update some deprecated attributes

* Comment out depends
  • Loading branch information
Secretions authored Nov 5, 2019
1 parent 747e158 commit 741bc8b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 4 additions & 1 deletion resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ resource "azurerm_application_gateway" "this" {
resource_group_name = var.resource_group_name
location = var.location
enable_http2 = var.enable_http2
disabled_ssl_protocols = var.disabled_ssl_protocols

ssl_policy {
disabled_protocols = var.disabled_ssl_protocols
}

sku {
name = "Standard_v2"
Expand Down
8 changes: 3 additions & 5 deletions ssl.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ resource "azurerm_key_vault" "this" {
resource_group_name = var.resource_group_name
tenant_id = data.azurerm_client_config.current.tenant_id

sku {
name = "standard"
}
sku_name = "standard"

access_policy {
tenant_id = data.azurerm_client_config.current.tenant_id
Expand Down Expand Up @@ -120,7 +118,7 @@ resource "azurerm_key_vault_certificate" "this" {

data "azurerm_key_vault_secret" "cert" {
name = local.certificate_name
vault_uri = azurerm_key_vault.this.vault_uri
key_vault_id = azurerm_key_vault.this.id

depends_on = [azurerm_key_vault_certificate.this]
#depends_on = [azurerm_key_vault_certificate.this]
}

0 comments on commit 741bc8b

Please sign in to comment.