Skip to content

Commit

Permalink
Upgrade terraform-provider-azurerm to v4.9.0 (#2632)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-azure
--kind=all --target-bridge-version=latest`.

Manual edits:
- [Added some new resources to resources.go that weren't
automapped.](https://github.com/pulumi/pulumi-azure/pull/2632/files#diff-34c57e622183cb0d8dd0d3f9eaa0861b3340120e9b2ad811bac7ac7be4cea4b1)
- [Changes to
storage/zMixins.ts](https://github.com/pulumi/pulumi-azure/pull/2632/files#diff-2d6bc02db2d831a89f3ac5906d7bd812c1b1eb90afaeb9022bf39ebb2c537ea8)
because [upstream introduced a change that makes storage account names
optional](hashicorp/terraform-provider-azurerm#27733)
(and deprecated).

---

- Upgrading terraform-provider-azurerm from 4.8.0  to 4.9.0.
	Fixes #2610
  • Loading branch information
thomas11 authored Nov 14, 2024
1 parent 8c22465 commit 1468c82
Show file tree
Hide file tree
Showing 257 changed files with 26,589 additions and 1,150 deletions.
4 changes: 2 additions & 2 deletions patches/0006-Make-shared-features-config-optional.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Modified in fork in https://github.com/pulumi/terraform-provider-azurerm/commit/
This originally included a conditional block to only set the SharedFeatures config if it had a value but this seems to have been lost during the provider config being refactored in https://github.com/hashicorp/terraform-provider-azurerm/commit/57bcf134131514ffcc962f20b12f993fad7d6060#diff-58d6a027753b50994deb7e11e4a99dde423f35844986019bd9cea5e0c94aba22

diff --git a/internal/provider/features.go b/internal/provider/features.go
index 1c42fa1b7b..5a20738ec6 100644
index e39c3ce0c7..aac9b65f19 100644
--- a/internal/provider/features.go
+++ b/internal/provider/features.go
@@ -388,7 +388,7 @@ func schemaFeatures(supportLegacyTestSuite bool) *pluginsdk.Schema {
@@ -403,7 +403,7 @@ func schemaFeatures(supportLegacyTestSuite bool) *pluginsdk.Schema {

return &pluginsdk.Schema{
Type: pluginsdk.TypeList,
Expand Down
6 changes: 3 additions & 3 deletions patches/0013-Update-documentation.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,7 @@ index c6387f8e37..ab11365777 100644

```hcl
diff --git a/website/docs/r/kubernetes_cluster.html.markdown b/website/docs/r/kubernetes_cluster.html.markdown
index 07e4ab531d..3da8903e82 100644
index dd3898b6c5..f8cb8ab6f7 100644
--- a/website/docs/r/kubernetes_cluster.html.markdown
+++ b/website/docs/r/kubernetes_cluster.html.markdown
@@ -10,15 +10,9 @@ description: |-
Expand Down Expand Up @@ -2275,10 +2275,10 @@ index dc6b71544f..424dbbc59a 100644
* How to connect a `Private Endpoint` to a [Cosmos PostgreSQL](https://github.com/hashicorp/terraform-provider-azurerm/tree/main/examples/private-endpoint/cosmos-db/postgresql)
* How to connect a `Private Endpoint` to a [PostgreSQL Server](https://github.com/hashicorp/terraform-provider-azurerm/tree/main/examples/private-endpoint/postgresql)
diff --git a/website/docs/r/public_ip.html.markdown b/website/docs/r/public_ip.html.markdown
index 1f4eccb6de..7d2d700d1c 100644
index 5abc7f8954..b9bbf4c0ec 100644
--- a/website/docs/r/public_ip.html.markdown
+++ b/website/docs/r/public_ip.html.markdown
@@ -94,7 +94,7 @@ In addition to the Arguments listed above - the following Attributes are exporte
@@ -96,7 +96,7 @@ In addition to the Arguments listed above - the following Attributes are exporte

* `ip_address` - The IP address value that was allocated.

Expand Down
87 changes: 87 additions & 0 deletions provider/cmd/pulumi-resource-azure/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4979,6 +4979,15 @@
}
}
},
"azurerm_dashboard_grafana_managed_private_endpoint": {
"current": "azure:dashboard/grafanaManagedPrivateEndpoint:GrafanaManagedPrivateEndpoint",
"majorVersion": 6,
"fields": {
"group_ids": {
"maxItemsOne": false
}
}
},
"azurerm_data_factory": {
"current": "azure:datafactory/factory:Factory",
"majorVersion": 6,
Expand Down Expand Up @@ -5829,6 +5838,10 @@
}
}
},
"azurerm_data_protection_backup_instance_mysql_flexible_server": {
"current": "azure:dataprotection/backupInstanceMysqlFlexibleServer:BackupInstanceMysqlFlexibleServer",
"majorVersion": 6
},
"azurerm_data_protection_backup_instance_postgresql": {
"current": "azure:dataprotection/backupInstancePostgresql:BackupInstancePostgresql",
"majorVersion": 6
Expand Down Expand Up @@ -6600,6 +6613,21 @@
}
}
},
"azurerm_dynatrace_monitor": {
"current": "azure:dynatrace/monitor:Monitor",
"majorVersion": 6,
"fields": {
"identity": {
"maxItemsOne": true
},
"plan": {
"maxItemsOne": true
},
"user": {
"maxItemsOne": true
}
}
},
"azurerm_elastic_cloud_elasticsearch": {
"current": "azure:elasticcloud/elasticsearch:Elasticsearch",
"majorVersion": 6,
Expand Down Expand Up @@ -13421,6 +13449,15 @@
}
}
},
"azurerm_mongo_cluster": {
"current": "azure:cosmosdb/mongoCluster:MongoCluster",
"majorVersion": 6,
"fields": {
"preview_features": {
"maxItemsOne": false
}
}
},
"azurerm_monitor_aad_diagnostic_setting": {
"current": "azure:monitoring/aadDiagnosticSetting:AadDiagnosticSetting",
"majorVersion": 6,
Expand Down Expand Up @@ -19021,6 +19058,18 @@
}
}
},
"azurerm_stack_hci_network_interface": {
"current": "azure:stack/hciNetworkInterface:HciNetworkInterface",
"majorVersion": 6,
"fields": {
"dns_servers": {
"maxItemsOne": false
},
"ip_configuration": {
"maxItemsOne": true
}
}
},
"azurerm_stack_hci_storage_path": {
"current": "azure:stack/hciStoragePath:HciStoragePath",
"majorVersion": 6
Expand Down Expand Up @@ -19298,6 +19347,44 @@
}
}
},
"azurerm_storage_account_queue_properties": {
"current": "azure:storage/accountQueueProperties:AccountQueueProperties",
"majorVersion": 6,
"fields": {
"cors_rule": {
"maxItemsOne": false,
"elem": {
"fields": {
"allowed_headers": {
"maxItemsOne": false
},
"allowed_methods": {
"maxItemsOne": false
},
"allowed_origins": {
"maxItemsOne": false
},
"exposed_headers": {
"maxItemsOne": false
}
}
}
},
"hour_metrics": {
"maxItemsOne": true
},
"logging": {
"maxItemsOne": true
},
"minute_metrics": {
"maxItemsOne": true
}
}
},
"azurerm_storage_account_static_website": {
"current": "azure:storage/accountStaticWebsite:AccountStaticWebsite",
"majorVersion": 6
},
"azurerm_storage_blob": {
"current": "azure:storage/blob:Blob",
"majorVersion": 6
Expand Down
Loading

0 comments on commit 1468c82

Please sign in to comment.