Skip to content

Commit a2309f6

Browse files
2 parents 3be272d + a6f0f4e commit a2309f6

File tree

985 files changed

+7210
-1466
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

985 files changed

+7210
-1466
lines changed

.github/workflows/provider-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ on:
3434
default: "staging"
3535

3636
env:
37-
slack_channel: "C7T8GB62H" # #tech-azure
37+
slack_channel: "C09KX8BCGA2" # #tech-azure
3838
product_name: "terraform-provider-azurerm"
3939
repo_name: "terraform-provider-azurerm"
4040
deployment_environment_name: "terraform-azure-repos-oss"

.release/ci.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ project "terraform-provider-azurerm" {
1212
team = "_UNUSED_"
1313

1414
slack {
15-
notification_channel = "C7T8GB62H" // #tech-azure
15+
notification_channel = "C09KX8BCGA2" // #tech-azure
1616
}
1717

1818
github {

.release/provider-schema.json

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

CHANGELOG.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,74 @@
1+
## 4.49.0 (October 16, 2025)
2+
3+
FEATURES:
4+
5+
* **New Data Source**: `azurerm_graph_services_account` ([#30697](https://github.com/hashicorp/terraform-provider-azurerm/issues/30697))
6+
* **New Data Source**: `azurerm_oracle_exascale_database_storage_vault` ([#30043](https://github.com/hashicorp/terraform-provider-azurerm/issues/30043))
7+
* **New Resource**: `azurerm_api_management_workspace_policy_fragment` ([#30678](https://github.com/hashicorp/terraform-provider-azurerm/issues/30678))
8+
* **New Resource**: `azurerm_oracle_exascale_database_storage_vault` ([#30043](https://github.com/hashicorp/terraform-provider-azurerm/issues/30043))
9+
10+
ENHANCEMENTS:
11+
12+
* Data Source: `azurerm_data_protection_backup_vault` - add support for the `identity.identity_ids` property ([#29061](https://github.com/hashicorp/terraform-provider-azurerm/issues/29061))
13+
* `azurerm_consumption_budget_management_group` - remove the maximum count validation for the `notification` block ([#29200](https://github.com/hashicorp/terraform-provider-azurerm/issues/29200))
14+
* `azurerm_consumption_budget_resource_group` - remove the maximum count validation for the `notification` block ([#29200](https://github.com/hashicorp/terraform-provider-azurerm/issues/29200))
15+
* `azurerm_consumption_budget_subscription` - remove the maximum count validation for the `notification` block ([#29200](https://github.com/hashicorp/terraform-provider-azurerm/issues/29200))
16+
* `azurerm_data_protection_backup_vault` - add support for the `identity.identity_ids` property ([#29061](https://github.com/hashicorp/terraform-provider-azurerm/issues/29061))
17+
* `azurerm_data_protection_backup_vault` - add support for `UserAssigned` and `SystemAssigned, UserAssigned` values to the `identity.type` property ([#29061](https://github.com/hashicorp/terraform-provider-azurerm/issues/29061))
18+
* `azurerm_monitor_data_collection_rule` - improve validation for `data_sources.*.name` ([#30851](https://github.com/hashicorp/terraform-provider-azurerm/issues/30851))
19+
* `azurerm_search_service` - support upgrading the `sku` based on tier ([#30842](https://github.com/hashicorp/terraform-provider-azurerm/issues/30842))
20+
* `azurerm_storage_queue` - support migrating from `storage_account_name` to `storage_account_id` ([#30836](https://github.com/hashicorp/terraform-provider-azurerm/issues/30836))
21+
22+
BUG FIXES:
23+
24+
* `azurerm_application_insights` - fix an issue that caused `tags` to be removed when other properties were updated ([#30758](https://github.com/hashicorp/terraform-provider-azurerm/issues/30758))
25+
* `azurerm_container_registry` - fix the `name` length validation to allow 50 rather than 49 ([#30858](https://github.com/hashicorp/terraform-provider-azurerm/issues/30858))
26+
* `azurerm_function_app_flex_consumption` - the `auth_settings` block contents are now set into state when `auth_settings.enabled` is set to `false` ([#30781](https://github.com/hashicorp/terraform-provider-azurerm/issues/30781))
27+
* `azurerm_linux_function_app` - the `auth_settings` block contents are now set into state when `auth_settings.enabled` is set to `false` ([#30781](https://github.com/hashicorp/terraform-provider-azurerm/issues/30781))
28+
* `azurerm_linux_function_app_slot` - the `auth_settings` block contents are now set into state when `auth_settings.enabled` is set to `false` ([#30781](https://github.com/hashicorp/terraform-provider-azurerm/issues/30781))
29+
* `azurerm_linux_web_app` - the `auth_settings` block contents are now set into state when `auth_settings.enabled` is set to `false` ([#30781](https://github.com/hashicorp/terraform-provider-azurerm/issues/30781))
30+
* `azurerm_linux_web_app_slot` - the `auth_settings` block contents are now set into state when `auth_settings.enabled` is set to `false` ([#30781](https://github.com/hashicorp/terraform-provider-azurerm/issues/30781))
31+
* `azurerm_mssql_database` - fix validation for `min_capacity` and `auto_pause_delay_in_minutes` being set on non-serverless SKUs ([#30856](https://github.com/hashicorp/terraform-provider-azurerm/issues/30856))
32+
* `azurerm_signalr_service_custom_certificate` - remove unnecessary API requests and checks that could lead to a panic ([#30412](https://github.com/hashicorp/terraform-provider-azurerm/issues/30412))
33+
* `azurerm_windows_function_app` - the `auth_settings` block contents are now set into state when `auth_settings.enabled` is set to `false` ([#30781](https://github.com/hashicorp/terraform-provider-azurerm/issues/30781))
34+
* `azurerm_windows_function_app_slot` - the `auth_settings` block contents are now set into state when `auth_settings.enabled` is set to `false` ([#30781](https://github.com/hashicorp/terraform-provider-azurerm/issues/30781))
35+
* `azurerm_windows_web_app` - the `auth_settings` block contents are now set into state when `auth_settings.enabled` is set to `false` ([#30781](https://github.com/hashicorp/terraform-provider-azurerm/issues/30781))
36+
* `azurerm_windows_web_app_slot` - the `auth_settings` block contents are now set into state when `auth_settings.enabled` is set to `false` ([#30781](https://github.com/hashicorp/terraform-provider-azurerm/issues/30781))
37+
38+
## 4.48.0 (October 13, 2025)
39+
40+
FEATURES:
41+
42+
* **New Data Source**: `azurerm_oracle_autonomous_database_clone_from_backup` ([#29633](https://github.com/hashicorp/terraform-provider-azurerm/issues/29633))
43+
* **New Data Source**: `azurerm_oracle_autonomous_database_clone_from_database` ([#29633](https://github.com/hashicorp/terraform-provider-azurerm/issues/29633))
44+
* **New Resource**: `azurerm_oracle_autonomous_database_clone_from_backup` ([#29633](https://github.com/hashicorp/terraform-provider-azurerm/issues/29633))
45+
* **New Resource**: `azurerm_oracle_autonomous_database_clone_from_database` ([#29633](https://github.com/hashicorp/terraform-provider-azurerm/issues/29633))
46+
47+
ENHANCEMENTS:
48+
49+
* dependencies: `containerapps` - update to API version `2025-07-01` ([#30801](https://github.com/hashicorp/terraform-provider-azurerm/issues/30801))
50+
* dependencies: `containerservice` - update to API version `2025-07-01` ([#30719](https://github.com/hashicorp/terraform-provider-azurerm/issues/30719))
51+
* dependencies: `go-azure-sdk` - update to `v0.20251007.1195632` ([#30799](https://github.com/hashicorp/terraform-provider-azurerm/issues/30799))
52+
* dependencies: `guestconfiguration` - update to API version `2024-04-05` ([#30642](https://github.com/hashicorp/terraform-provider-azurerm/issues/30642))
53+
* dependencies: `search` - update to API version `2025-05-01` ([#30314](https://github.com/hashicorp/terraform-provider-azurerm/issues/30314))
54+
* `azurerm_kubernetes_cluster` - add support for `AzureLinux3` and `Ubuntu2204` to the `default_node_pool.os_sku` property ([#30719](https://github.com/hashicorp/terraform-provider-azurerm/issues/30719))
55+
* `azurerm_kubernetes_cluster` - add support for the `ai_toolchain_operator_enabled` property ([#30713](https://github.com/hashicorp/terraform-provider-azurerm/issues/30713))
56+
* `azurerm_kubernetes_cluster_node_pool` - add support for `AzureLinux3` and `Ubuntu2204` to the `os_sku` property ([#30719](https://github.com/hashicorp/terraform-provider-azurerm/issues/30719))
57+
* `azurerm_linux_virtual_machine_scale_set` - add support for the `resilient_vm_creation_enabled` and `resilient_vm_deletion_enabled` properties ([#30204](https://github.com/hashicorp/terraform-provider-azurerm/issues/30204))
58+
* `azurerm_network_watcher_flow_log` - changing the `target_resource_id` property no longer forces the resource to be replaced ([#30776](https://github.com/hashicorp/terraform-provider-azurerm/issues/30776))
59+
* `azurerm_notification_hub_namespace` - add support for `replication_region` and `zone_redundancy_enabled` ([#30531](https://github.com/hashicorp/terraform-provider-azurerm/issues/30531))
60+
* `azurerm_windows_virtual_machine_scale_set` - add support for the `resilient_vm_creation_enabled` and `resilient_vm_deletion_enabled` properties ([#30204](https://github.com/hashicorp/terraform-provider-azurerm/issues/30204))
61+
62+
BUG FIXES:
63+
64+
* `azurerm_eventhub_namespace` - `maximum_throughput_units` can be set to `0` when `auto_inflate_enabled` is disabled ([#30777](https://github.com/hashicorp/terraform-provider-azurerm/issues/30777))
65+
* `azurerm_log_analytics_workspace` - fix the default value for `local_authentication_enabled` ([#30759](https://github.com/hashicorp/terraform-provider-azurerm/issues/30759))
66+
* `azurerm_mssql_database` - add validation to ensure that `min_capacity` and `auto_pause_delay_in_minutes` can only be set on serverless dbs ([#30790](https://github.com/hashicorp/terraform-provider-azurerm/issues/30790))
67+
* `azurerm_mssql_server` - the `azuread_administrator` block now updates in place rather than being deleted/recreated ([#30742](https://github.com/hashicorp/terraform-provider-azurerm/issues/30742))
68+
* `azurerm_network_watcher_flow_log` - the `target_resource_id` property is now included in the update request payload resolving an issue where changing it failed to recreate or update the resource ([#30776](https://github.com/hashicorp/terraform-provider-azurerm/issues/30776))
69+
* `azurerm_pim_eligible_role_assignment` - improve filter used during List requests to prevent timeouts ([#30705](https://github.com/hashicorp/terraform-provider-azurerm/issues/30705))
70+
* `azurerm_postgresql_flexible_server_virtual_endpoint` - fix read error when in replica set in failover state ([#30789](https://github.com/hashicorp/terraform-provider-azurerm/issues/30789))
71+
172
## 4.47.0 (October 02, 2025)
273

374
FEATURES:

contributing/topics/guide-breaking-changes.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ The following example follows a fictional resource that will have the following
178178
Type: pluginsdk.TypeBool,
179179
Optional: true,
180180
Computed: true,
181-
Default: false,
182181
ConflictsWith: []string{"scaling_enabled"},
183182
Deprecated: "`enable_scaling` has been deprecated in favour of `scaling_enabled` and will be removed in v5.0 of the AzureRM Provider",
184183
}
@@ -188,7 +187,6 @@ The following example follows a fictional resource that will have the following
188187
Type: pluginsdk.TypeBool,
189188
Optional: true,
190189
Computed: true,
191-
Default: false,
192190
ConflictsWith: []string{"enable_scaling"},
193191
}
194192
@@ -200,7 +198,23 @@ The following example follows a fictional resource that will have the following
200198
```
201199
> **Note:** In the past we've accepted in-lined anonymous functions in a property's schema definition to conditionally change the default value, validation function etc. these will no longer be accepted in the provider. This is a deliberate decision to reduce the variation in how deprecations are done in the provider and also simplifies the clean-up effort of feature flagged code after the major release.
202200

203-
2. Update the Create/Read/Update methods if necessary.
201+
2. Update the Create/Read/Update methods.
202+
203+
For Create function, you can do:
204+
```go
205+
206+
payload := example.Payload{
207+
// ...
208+
EnableScaling: pointer.To(model.ScalingEnabled),
209+
// ...
210+
}
211+
212+
if !features.FivePointOh() {
213+
if !pluginsdk.IsExplicitlyNullInConfig(metadata.ResourceData, "enable_scaling") {
214+
payload.EnableScaling = pointer.To(model.EnableScaling);
215+
}
216+
}
217+
```
204218

205219
3. Update the test configurations.
206220

@@ -407,4 +421,4 @@ Once the next major release has happened, all blocks of code that were condition
407421
408422
1. For typed resources, if you are removing a property, make sure you also remove it from the model(s). The fields should have a `removedInNextMajorVersion` tag.
409423
2. For typed resources, there may be properties that were only included once the major version was released, make sure you remove the `addedInNextMajorVersion` tag from these properties in the model(s).
410-
3. Confirm the documentation is up-to-date with what is in code, generally this should already be the case, but it's good to double-check.
424+
3. Confirm the documentation is up-to-date with what is in code, generally this should already be the case, but it's good to double-check.

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ require (
1717
github.com/google/go-cmp v0.7.0
1818
github.com/google/uuid v1.6.0
1919
github.com/hashicorp/go-azure-helpers v0.74.0
20-
github.com/hashicorp/go-azure-sdk/resource-manager v0.20251007.1195632
21-
github.com/hashicorp/go-azure-sdk/sdk v0.20251007.1195632
20+
github.com/hashicorp/go-azure-sdk/resource-manager v0.20251016.1163854
21+
github.com/hashicorp/go-azure-sdk/sdk v0.20251016.1163854
2222
github.com/hashicorp/go-cty v1.5.0
2323
github.com/hashicorp/go-hclog v1.6.3
2424
github.com/hashicorp/go-multierror v1.1.1

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY
112112
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
113113
github.com/hashicorp/go-azure-helpers v0.74.0 h1:4zF2Fn/LVlSwZ+wYQ3zqVf8k/x4f2OKXKsVOFRfsFHg=
114114
github.com/hashicorp/go-azure-helpers v0.74.0/go.mod h1:tAUWC+kwZQsuNAHEIlnbojMMcC6SWQb6W1HfIeluv1E=
115-
github.com/hashicorp/go-azure-sdk/resource-manager v0.20251007.1195632 h1:jHLlgFFrv/UQkygfm30cETUfkctj0F12j5lWPwvUyv0=
116-
github.com/hashicorp/go-azure-sdk/resource-manager v0.20251007.1195632/go.mod h1:qiT8mUfTw8AvpHoZcfUtGWFpt+4u8oCKEW+dDJtJo6E=
117-
github.com/hashicorp/go-azure-sdk/sdk v0.20251007.1195632 h1:xB0OeYE592oYVlD5GgU5pEN35jhj/1qlqVROrqFQQfc=
118-
github.com/hashicorp/go-azure-sdk/sdk v0.20251007.1195632/go.mod h1:eyNClZwQsa4Go51ScU9OYCE2EQvbNt8EjZ4eMxpQ1H8=
115+
github.com/hashicorp/go-azure-sdk/resource-manager v0.20251016.1163854 h1:pOmcGVy0o5kyGxDdGYXxldLwsaN79Yp/o8uqJJ2L4ho=
116+
github.com/hashicorp/go-azure-sdk/resource-manager v0.20251016.1163854/go.mod h1:HDFQTAmQxZ7rWA4+fdXP+0zsurg3q/IoTPVoCKIzyzs=
117+
github.com/hashicorp/go-azure-sdk/sdk v0.20251016.1163854 h1:CBpC8CqL2jHtGBTZdeBR6s670Ihhu5Rr78CK5yITIfo=
118+
github.com/hashicorp/go-azure-sdk/sdk v0.20251016.1163854/go.mod h1:eyNClZwQsa4Go51ScU9OYCE2EQvbNt8EjZ4eMxpQ1H8=
119119
github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU=
120120
github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg=
121121
github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=

internal/clients/builder.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ type ClientBuilder struct {
3838
const azureStackEnvironmentError = `
3939
The AzureRM Provider supports the different Azure Public Clouds - including China, Public,
4040
and US Government - however it does not support Azure Stack due to differences in API and
41-
feature availability.
42-
43-
Terraform instead offers a separate "azurestack" provider which supports the functionality
44-
and APIs available in Azure Stack via Azure Stack Profiles`
41+
feature availability`
4542

4643
func Build(ctx context.Context, builder ClientBuilder) (*Client, error) {
4744
var err error

internal/services/apimanagement/api_management_certificate_resource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ resource "azurerm_resource_group" "test" {
278278
}
279279
280280
resource "azurerm_key_vault" "test" {
281-
name = "acct%d"
281+
name = "acctest%d"
282282
location = azurerm_resource_group.test.location
283283
resource_group_name = azurerm_resource_group.test.name
284284

internal/services/apimanagement/api_management_custom_domain_resource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ resource "azurerm_api_management" "test" {
239239
}
240240
241241
resource "azurerm_key_vault" "test" {
242-
name = "apimkv%[3]s"
242+
name = "acctestkv%[3]s"
243243
location = azurerm_resource_group.test.location
244244
resource_group_name = azurerm_resource_group.test.name
245245
tenant_id = data.azurerm_client_config.current.tenant_id

0 commit comments

Comments
 (0)