Skip to content

Commit

Permalink
Merge pull request #15952 from hashicorp/kt/del-unflaggged-deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte authored Mar 23, 2022
2 parents d6274b0 + 399906e commit 3dc6142
Show file tree
Hide file tree
Showing 175 changed files with 549 additions and 1,678 deletions.
5 changes: 0 additions & 5 deletions examples/api-management/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ output "api_outputs" {
}
}

output "group_id" {
description = "The ID of the API Management Group created"
value = azurerm_api_management_group.group.id
}

output "product_ids" {
description = "The ID of the Product created"
value = azurerm_api_management_product.product.id
Expand Down
5 changes: 0 additions & 5 deletions examples/netapp/volume_dual_protocol/README.md

This file was deleted.

55 changes: 0 additions & 55 deletions examples/netapp/volume_dual_protocol/main.tf

This file was deleted.

15 changes: 0 additions & 15 deletions examples/netapp/volume_dual_protocol/variables.tf

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ resource "azurerm_subnet" "test1" {
name = "amtestSNET1-%d"
resource_group_name = azurerm_resource_group.test1.name
virtual_network_name = azurerm_virtual_network.test1.name
address_prefix = "10.0.1.0/24"
address_prefixes = ["10.0.1.0/24"]
}
resource "azurerm_virtual_network" "test2" {
Expand All @@ -200,7 +200,7 @@ resource "azurerm_subnet" "test2" {
name = "amtestSNET2-%d"
resource_group_name = azurerm_resource_group.test2.name
virtual_network_name = azurerm_virtual_network.test2.name
address_prefix = "10.1.1.0/24"
address_prefixes = ["10.1.1.0/24"]
}
resource "azurerm_api_management" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ func resourceApiManagementDiagnostic() *pluginsdk.Resource {
ValidateFunc: validate.LoggerID,
},

"enabled": {
Type: pluginsdk.TypeBool,
Optional: true,
Deprecated: "this property has been removed from the API and will be removed in version 3.0 of the provider",
},

"sampling_percentage": {
Type: pluginsdk.TypeFloat,
Optional: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@ resource "azurerm_subnet" "test2" {
name = "acctestSNET2-%[2]d"
resource_group_name = azurerm_resource_group.test2.name
virtual_network_name = azurerm_virtual_network.test2.name
address_prefix = "10.1.1.0/24"
address_prefixes = ["10.1.1.0/24"]
}
resource "azurerm_network_security_group" "test2" {
Expand Down
6 changes: 3 additions & 3 deletions internal/services/appservice/service_plan_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,14 +344,14 @@ resource "azurerm_subnet" "ase" {
name = "asesubnet"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.1.0/24"
address_prefixes = ["10.0.1.0/24"]
}
resource "azurerm_subnet" "gateway" {
name = "gatewaysubnet"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_app_service_environment" "test" {
Expand Down Expand Up @@ -405,7 +405,7 @@ resource "azurerm_subnet" "test" {
name = "acctest-subnet-%[1]d"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
delegation {
name = "asedelegation"
service_delegation {
Expand Down
4 changes: 2 additions & 2 deletions internal/services/batch/batch_pool_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_public_ip" "test" {
Expand Down Expand Up @@ -1442,7 +1442,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_public_ip" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -795,15 +795,15 @@ resource "azurerm_subnet" "test_a" {
name = "acctestsubneta%d"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
service_endpoints = ["Microsoft.CognitiveServices"]
}
resource "azurerm_subnet" "test_b" {
name = "acctestsubnetb%d"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.4.0/24"
address_prefixes = ["10.0.4.0/24"]
service_endpoints = ["Microsoft.CognitiveServices"]
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger, data.RandomInteger, data.RandomInteger)
Expand Down
4 changes: 2 additions & 2 deletions internal/services/compute/image_data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_public_ip" "test" {
Expand Down Expand Up @@ -215,7 +215,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_public_ip" "test" {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/compute/image_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_public_ip" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_public_ip" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
`, data.RandomString, data.RandomInteger, data.Locations.Primary, data.RandomInteger)
}
Original file line number Diff line number Diff line change
Expand Up @@ -2116,7 +2116,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomInteger)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
`, data.RandomInteger, data.Locations.Primary, data.RandomString, data.RandomInteger)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ resource "azurerm_subnet" "test" {
name = "subnet-%d"
resource_group_name = "${azurerm_resource_group.test.name}"
virtual_network_name = "${azurerm_virtual_network.test.name}"
address_prefix = "10.0.0.0/24"
address_prefixes = ["10.0.0.0/24"]
}
resource "azurerm_public_ip" "test" {
Expand Down Expand Up @@ -588,7 +588,7 @@ resource "azurerm_subnet" "other" {
name = "other"
resource_group_name = "${azurerm_resource_group.test.name}"
virtual_network_name = "${azurerm_virtual_network.test.name}"
address_prefix = "10.0.1.0/24"
address_prefixes = ["10.0.1.0/24"]
}
resource "azurerm_linux_virtual_machine_scale_set" "test" {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/compute/managed_disk_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ resource "azurerm_subnet" "test" {
name = "internal"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down
2 changes: 1 addition & 1 deletion internal/services/compute/snapshot_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ resource "azurerm_subnet" "test" {
name = "acctsub"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ resource "azurerm_subnet" "test" {
name = "acctsub-%d"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down Expand Up @@ -448,7 +448,7 @@ resource "azurerm_subnet" "test" {
name = "acctsub-%d"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down Expand Up @@ -536,7 +536,7 @@ resource "azurerm_subnet" "test" {
name = "acctsub-%d"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down Expand Up @@ -616,7 +616,7 @@ resource "azurerm_subnet" "test" {
name = "acctsub"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_public_ip" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ resource "azurerm_subnet" "test" {
name = "acctsub-%d"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down Expand Up @@ -249,7 +249,7 @@ resource "azurerm_subnet" "test" {
name = "acctsub-%d"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down Expand Up @@ -358,7 +358,7 @@ resource "azurerm_subnet" "test" {
name = "acctsub-%d"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down Expand Up @@ -477,7 +477,7 @@ resource "azurerm_subnet" "test" {
name = "acctsub-%d"
resource_group_name = azurerm_resource_group.test.name
virtual_network_name = azurerm_virtual_network.test.name
address_prefix = "10.0.2.0/24"
address_prefixes = ["10.0.2.0/24"]
}
resource "azurerm_network_interface" "test" {
Expand Down
Loading

0 comments on commit 3dc6142

Please sign in to comment.