Skip to content

Commit 67f16bf

Browse files
authored
Bump terraform-provider-azurerm to v3.4.0 from v3.0.2 (#168)
* Bump terraform-provider-azurerm to v3.4.0 from v3.0.2 * Bump azure-rest-api-spec * Update streamanalytics API version to 2020-03-01 * Update sqlvirtualmachine API version to 2021-11-01-preview
1 parent ec24713 commit 67f16bf

22 files changed

+59
-56
lines changed

docs/rules/azurerm_mssql_virtual_machine_invalid_sql_connectivity_type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ Replace the warned value with a valid value.
4242

4343
This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule.
4444

45-
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json
45+
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2021-11-01-preview/sqlvm.json

docs/rules/azurerm_mssql_virtual_machine_invalid_sql_license_type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ Replace the warned value with a valid value.
4242

4343
This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule.
4444

45-
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json
45+
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2021-11-01-preview/sqlvm.json

docs/rules/azurerm_stream_analytics_job_invalid_compatibility_level.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Warns about values that appear to be invalid based on [azure-rest-api-specs](htt
66

77
Allowed values are:
88
- 1.0
9+
- 1.2
910

1011
## Example
1112

@@ -40,4 +41,4 @@ Replace the warned value with a valid value.
4041

4142
This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule.
4243

43-
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json
44+
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/streamingjobs.json

docs/rules/azurerm_stream_analytics_job_invalid_events_out_of_order_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ Replace the warned value with a valid value.
4141

4242
This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule.
4343

44-
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json
44+
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/streamingjobs.json

docs/rules/azurerm_stream_analytics_job_invalid_output_error_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ Replace the warned value with a valid value.
4141

4242
This rule is automatically generated from [azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs). If you are uncertain about the warning, check the following API schema referenced by this rule.
4343

44-
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json
44+
https://github.com/Azure/azure-rest-api-specs/tree/master/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/streamingjobs.json

rules/apispec/azurerm_stream_analytics_job_invalid_compatibility_level.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ func NewAzurermStreamAnalyticsJobInvalidCompatibilityLevelRule() *AzurermStreamA
2626
attributeName: "compatibility_level",
2727
enum: []string{
2828
"1.0",
29+
"1.2",
2930
},
3031
}
3132
}

tools/apispec-rule-gen/mappings/azurerm_mssql_virtual_machine.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
mapping "azurerm_mssql_virtual_machine" {
3-
import_path = "azure-rest-api-specs/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2017-03-01-preview/sqlvm.json"
3+
import_path = "azure-rest-api-specs/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2021-11-01-preview/sqlvm.json"
44

55
sql_license_type = SqlVirtualMachineProperties.sqlServerLicenseType
66
r_services_enabled = AdditionalFeaturesServerConfigurations.isRServicesEnabled
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
mapping "azurerm_stream_analytics_function_javascript_udf" {
2-
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/functions.json"
2+
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/functions.json"
33

44
name = FunctionNameParameter
5-
resource_group_name = ResourceGroupNameParameter
6-
stream_analytics_job_name = StreamingJobNameParameter
5+
resource_group_name = any //ResourceGroupNameParameter
6+
stream_analytics_job_name = any //StreamingJobNameParameter
77
script = JavaScriptFunctionBindingProperties.script
88
}

tools/apispec-rule-gen/mappings/azurerm_stream_analytics_job.hcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
mapping "azurerm_stream_analytics_job" {
2-
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/streamingjobs.json"
2+
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/streamingjobs.json"
33

4-
name = StreamingJobNameParameter
5-
resource_group_name = ResourceGroupNameParameter
4+
name = any //StreamingJobNameParameter
5+
resource_group_name = any //ResourceGroupNameParameter
66
location = any //Resource.location
77
compatibility_level = CompatibilityLevel
88
data_locale = StreamingJobProperties.dataLocale

tools/apispec-rule-gen/mappings/azurerm_stream_analytics_output_blob.hcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
mapping "azurerm_stream_analytics_output_blob" {
2-
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/inputs.json"
2+
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json"
33

4-
resource_group_name = ResourceGroupNameParameter
5-
stream_analytics_job_name = StreamingJobNameParameter
4+
resource_group_name = any //ResourceGroupNameParameter
5+
stream_analytics_job_name = any //StreamingJobNameParameter
66
date_format = BlobDataSourceProperties.dateFormat
77
path_pattern = BlobDataSourceProperties.pathPattern
88
storage_account_name = StorageAccount.accountName

tools/apispec-rule-gen/mappings/azurerm_stream_analytics_output_eventhub.hcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
mapping "azurerm_stream_analytics_output_eventhub" {
2-
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/inputs.json"
2+
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json"
33

4-
resource_group_name = ResourceGroupNameParameter
5-
stream_analytics_job_name = StreamingJobNameParameter
4+
resource_group_name = any //ResourceGroupNameParameter
5+
stream_analytics_job_name = any //StreamingJobNameParameter
66
eventhub_name = EventHubDataSourceProperties.eventHubName
77
servicebus_namespace = ServiceBusDataSourceProperties.serviceBusNamespace
88
shared_access_policy_key = ServiceBusDataSourceProperties.sharedAccessPolicyKey

tools/apispec-rule-gen/mappings/azurerm_stream_analytics_output_mssql.hcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
mapping "azurerm_stream_analytics_output_mssql" {
2-
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/outputs.json"
2+
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json"
33

44
name = OutputNameParameter
5-
resource_group_name = ResourceGroupNameParameter
6-
stream_analytics_job_name = StreamingJobNameParameter
5+
resource_group_name = any //ResourceGroupNameParameter
6+
stream_analytics_job_name = any //StreamingJobNameParameter
77
server = AzureSqlDatabaseDataSourceProperties.server
88
user = AzureSqlDatabaseDataSourceProperties.user
99
password = AzureSqlDatabaseDataSourceProperties.password
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
mapping "azurerm_stream_analytics_output_servicebus_queue" {
2-
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/outputs.json"
2+
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json"
33

44
name = OutputNameParameter
5-
resource_group_name = ResourceGroupNameParameter
6-
stream_analytics_job_name = StreamingJobNameParameter
5+
resource_group_name = any //ResourceGroupNameParameter
6+
stream_analytics_job_name = any //StreamingJobNameParameter
77
queue_name = ServiceBusQueueOutputDataSourceProperties.queueName
88
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
mapping "azurerm_stream_analytics_output_servicebus_topic" {
2-
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/outputs.json"
2+
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json"
33

44
name = OutputNameParameter
5-
resource_group_name = ResourceGroupNameParameter
6-
stream_analytics_job_name = StreamingJobNameParameter
5+
resource_group_name = any //ResourceGroupNameParameter
6+
stream_analytics_job_name = any //StreamingJobNameParameter
77
queue_name = ServiceBusTopicOutputDataSourceProperties.topicName
88
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
mapping "azurerm_stream_analytics_reference_input_blob" {
2-
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/inputs.json"
2+
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json"
33

44
name = InputNameParameter
5-
resource_group_name = ResourceGroupNameParameter
6-
stream_analytics_job_name = StreamingJobNameParameter
5+
resource_group_name = any //ResourceGroupNameParameter
6+
stream_analytics_job_name = any //StreamingJobNameParameter
77
date_format = BlobDataSourceProperties.dateFormat
88
path_pattern = BlobDataSourceProperties.pathPattern
99
storage_account_name = StorageAccount.accountName
1010
storage_account_key = StorageAccount.accountKey
1111
storage_container_name = BlobDataSourceProperties.container
1212
time_format = BlobDataSourceProperties.timeFormat
13-
}
13+
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
mapping "azurerm_stream_analytics_stream_input_eventhub" {
2-
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/inputs.json"
2+
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json"
33

44
name = InputNameParameter
5-
resource_group_name = ResourceGroupNameParameter
6-
stream_analytics_job_name = StreamingJobNameParameter
5+
resource_group_name = any //ResourceGroupNameParameter
6+
stream_analytics_job_name = any //StreamingJobNameParameter
77
eventhub_name = EventHubDataSourceProperties.eventHubName
88
eventhub_consumer_group_name = EventHubStreamInputDataSourceProperties.consumerGroupName
99
servicebus_namespace = ServiceBusDataSourceProperties.serviceBusNamespace
1010
shared_access_policy_key = ServiceBusDataSourceProperties.sharedAccessPolicyKey
1111
shared_access_policy_name = ServiceBusDataSourceProperties.sharedAccessPolicyName
12-
}
12+
}

tools/apispec-rule-gen/mappings/azurerm_stream_analytics_stream_input_iothub.hcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
mapping "azurerm_stream_analytics_stream_input_iothub" {
2-
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/inputs.json"
2+
import_path = "azure-rest-api-specs/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json"
33

44
name = InputNameParameter
5-
resource_group_name = ResourceGroupNameParameter
6-
stream_analytics_job_name = StreamingJobNameParameter
5+
resource_group_name = any //ResourceGroupNameParameter
6+
stream_analytics_job_name = any //StreamingJobNameParameter
77
eventhub_consumer_group_name = IoTHubStreamInputDataSourceProperties.consumerGroupName
88
endpoint = IoTHubStreamInputDataSourceProperties.endpoint
99
iothub_namespace = IoTHubStreamInputDataSourceProperties.iotHubNamespace
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.7
1+
1.1.9

tools/apispec-rule-gen/schema/.terraform.lock.hcl

Lines changed: 15 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/apispec-rule-gen/schema/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
azurerm = {
44
source = "hashicorp/azurerm"
5-
version = "3.0.2"
5+
version = "3.4.0"
66
}
77
}
88
}

tools/apispec-rule-gen/schema/schema.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)