Skip to content

Commit

Permalink
Upstream sync on 8/13/2019 (#70)
Browse files Browse the repository at this point in the history
* r/storage_blob: refactoring the existing tests

* Updating to use hashicorp#3857

* Add metadata to example usage

* r/storage_blob: rewriting the acceptance tests

* r/storage_blob: test fixes

* Adding a todo

* r/private_dns_a_record: fixing comments from code review

* Updating to include hashicorp#3847

* Updating to include hashicorp#3849

* Add schedule backup functionality.

* Add doc in app_service.html.markdown file

* Add deafult value to backup_schedule_enabled

* Add default value to backup_schedule_enabled parameter

* delete backup-schedule_enabled parameter

* Delete backupScheduleEnabled param

* Add condition err in resourceArmDeleteScheduleBackup

* In deleteConfiguration function delete check

* Add HasChange in update function

* Fix errcheck in DeleteBackupConfiguration

* Frequency interval validation range limit

* Delete backupSchedule in create function

* Update azurerm/resource_arm_app_service.go

Co-Authored-By: Matthew Frahry <mbfrahry@gmail.com>

* Validate retention period range limit

* Fix tabulation and add validate to backup_name

* Add frequency_unit validation

* azurerm_app_service: fixing the code comments from hashicorp#3330

```
$ acctests azurerm TestAccAzureRMAppService_backup
=== RUN   TestAccAzureRMAppService_backup
=== PAUSE TestAccAzureRMAppService_backup
=== CONT  TestAccAzureRMAppService_backup
--- PASS: TestAccAzureRMAppService_backup (660.26s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	660.313s
```

```
$ acctests azurerm TestAccAzureRMAppService_basic
=== RUN   TestAccAzureRMAppService_basic
=== PAUSE TestAccAzureRMAppService_basic
=== RUN   TestAccAzureRMAppService_basicWindowsContainer
=== PAUSE TestAccAzureRMAppService_basicWindowsContainer
=== CONT  TestAccAzureRMAppService_basic
--- PASS: TestAccAzureRMAppService_basic (189.59s)
=== CONT  TestAccAzureRMAppService_basicWindowsContainer
--- PASS: TestAccAzureRMAppService_basicWindowsContainer (369.53s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	559.155s
```

* fwixing comments from code review

* Updating to include hashicorp#3804

* [azurerm_recovery_services_protected_vm] - changing `backup_pol… (hashicorp#3822)

Refer to hashicorp#3441 now changing the behaviour of backup_policy_id so it should not trigger recreation of resource when value changed

(fixes hashicorp#3441)

* Update CHANGELOG.md to include hashicorp#3822

* storage: using the environment as available

* Fix documentation. Real resource name is azurerm_application_in… (hashicorp#3877)

* Fix azurerm_redis_cache non-SSL port in docs

* fix merging problem

* change firewall test to explicit config
fix bug of returning nil

* fix some errors; enable adminUsers test but not working currently

* fix linting error

* fix linting error

* fix admin users test

* r/storage_share: switching the state migration over to 0.12 format

```
$ go test -v ./azurerm/ -run=TestAzureRMStorageShareMigrateState
=== RUN   TestAzureRMStorageShareMigrateStateV0ToV1
2019/07/19 13:33:46 [DEBUG] Updating ID from "share1" to "share1/group1/account1"
2019/07/19 13:33:46 [DEBUG] Updating ID from "share1" to "share1/group1/account1"
2019/07/19 13:33:46 [DEBUG] Updating ID from "share1" to "share1/group1/account1"
2019/07/19 13:33:46 [DEBUG] Updating ID from "share1" to "share1/group1/account1"
--- PASS: TestAzureRMStorageShareMigrateStateV0ToV1 (0.00s)
    resource_arm_storage_share_migration_test.go:20: [DEBUG] Testing with Cloud "AzureChinaCloud"
    resource_arm_storage_share_migration_test.go:49: [DEBUG] Ok!
    resource_arm_storage_share_migration_test.go:20: [DEBUG] Testing with Cloud "AzureGermanCloud"
    resource_arm_storage_share_migration_test.go:49: [DEBUG] Ok!
    resource_arm_storage_share_migration_test.go:20: [DEBUG] Testing with Cloud "AzurePublicCloud"
    resource_arm_storage_share_migration_test.go:49: [DEBUG] Ok!
    resource_arm_storage_share_migration_test.go:20: [DEBUG] Testing with Cloud "AzureUSGovernmentCloud"
    resource_arm_storage_share_migration_test.go:49: [DEBUG] Ok!
=== RUN   TestAzureRMStorageShareMigrateStateV1ToV2
2019/07/19 13:33:46 [DEBUG] Updating Resource ID from "share1/group1/account1" to "https://account1.file.core.chinacloudapi.cn/share1"
2019/07/19 13:33:46 [DEBUG] Updating Resource ID from "share1/group1/account1" to "https://account1.file.core.cloudapi.de/share1"
2019/07/19 13:33:46 [DEBUG] Updating Resource ID from "share1/group1/account1" to "https://account1.file.core.windows.net/share1"
2019/07/19 13:33:46 [DEBUG] Updating Resource ID from "share1/group1/account1" to "https://account1.file.core.usgovcloudapi.net/share1"
--- PASS: TestAzureRMStorageShareMigrateStateV1ToV2 (0.00s)
    resource_arm_storage_share_migration_test.go:62: [DEBUG] Testing with Cloud "AzureChinaCloud"
    resource_arm_storage_share_migration_test.go:91: [DEBUG] Ok!
    resource_arm_storage_share_migration_test.go:62: [DEBUG] Testing with Cloud "AzureGermanCloud"
    resource_arm_storage_share_migration_test.go:91: [DEBUG] Ok!
    resource_arm_storage_share_migration_test.go:62: [DEBUG] Testing with Cloud "AzurePublicCloud"
    resource_arm_storage_share_migration_test.go:91: [DEBUG] Ok!
    resource_arm_storage_share_migration_test.go:62: [DEBUG] Testing with Cloud "AzureUSGovernmentCloud"
    resource_arm_storage_share_migration_test.go:91: [DEBUG] Ok!
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	0.038s
```

* r/kubernetes_cluster: fixing comments from code review

* r/kubernetes_cluster: ordering the sections alphabetically

* adjust pr comments

* r/kubernetes_cluster: switching to an import test

* fixing comments from code review

* sidebar: fixing the ordering

* Updating to include hashicorp#3785

* add function app auth settings

* docs

* bug: missing link to azurerm_api_management_subscription (hashicorp#3888)

* r/analysis_services_server: ensuring the ID is set in the create

* updating to include hashicorp#3721

* updating to include hashicorp#3893

* Add auth_settings support to app service slot

* Add auth_settings tests to app service slot

* auth_settings block in app service slot docs

* Missed import modules for test

* return value for UpdateAuthSettingsSlot

* Wrong resource name in tests

* r/app_service_slot: wrapping the errors

* r/app_service_slot: renaming the CreateUpdate method to Create since it's been split

* r/storage_container: metadata should be computed

```
$ acctests azurerm TestAccAzureRMStorageContainer_metaData
=== RUN   TestAccAzureRMStorageContainer_metaData
=== PAUSE TestAccAzureRMStorageContainer_metaData
=== CONT  TestAccAzureRMStorageContainer_metaData
--- PASS: TestAccAzureRMStorageContainer_metaData (165.53s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	165.571s
```

* [Feature] Azure Maps Account Support

Adding Azure Map Accounts support to Terraform.

Adds azurerm_maps_account data source.
Adds azurerm_maps_account resource type.
Adds website documentation for data source and resource.
Adds data source and resource acceptance tests.

* vendoring the maps sdk

* r/maps_account: changes from code review

* docs: adding to the sidebar

* updating to include hashicorp#3897

* r/maps: removing dead code

* d/cosmosdb_account: handling the document endpoint being nil (hashicorp#3899)

* maps: making the sku lower-case to match the api

* r/storage_container: support for containers named `$web` (hashicorp#3896)

Fixes hashicorp#3894

* Update CHANGELOG.md to include hashicorp#3896

* maps: fixing the tests

```
$ acctests azurerm TestAccAzureRMMapsAccount_
=== RUN   TestAccAzureRMMapsAccount_basic
=== PAUSE TestAccAzureRMMapsAccount_basic
=== RUN   TestAccAzureRMMapsAccount_sku
=== PAUSE TestAccAzureRMMapsAccount_sku
=== RUN   TestAccAzureRMMapsAccount_tags
=== PAUSE TestAccAzureRMMapsAccount_tags
=== CONT  TestAccAzureRMMapsAccount_basic
=== CONT  TestAccAzureRMMapsAccount_tags
--- PASS: TestAccAzureRMMapsAccount_basic (80.43s)
--- PASS: TestAccAzureRMMapsAccount_tags (111.23s)
=== CONT  TestAccAzureRMMapsAccount_sku
--- PASS: TestAccAzureRMMapsAccount_sku (82.26s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	273.956s
```

* [azurerm_kubernetes_cluster ] - support for the `windows_profil… (hashicorp#3519)

fixes hashicorp#3508

* Update CHANGELOG.md to include hashicorp#3519

* updating to include hashicorp#3698

* sorting/reordering the changelog

* decrease gogc to prevent linting OOM

* website: Fix a sidebar name (hashicorp#3911)

* `azurerm_storage_account`: set `queue_properties` (hashicorp#3859)

* Update CHANGELOG.md

* azurerm_cosmosdb_account: validate max_interval_in_seconds and… (hashicorp#3906)

fixes hashicorp#3551

* Update CHANGELOG.md to include hashicorp#3906

* kubernetes_cluster: support specifying load balancer sku (hashicorp#3890)

Fixes hashicorp#3726

* Update CHANGELOG.md to include hashicorp#3890

* Update mysql_server.html.markdown (hashicorp#3914)

* azurerm_application_gateway  - Support for Managed Identity (resolves hashicorp#3640) (hashicorp#3648)

resolves hashicorp#3640

* Update CHANGELOG.md to include hashicorp#3648

* v1.32.0

* Cleanup after v1.32.0 release

* Sending nil certificate when no certificate is specified (hashicorp#3931)

* azurerm_kubernetes_cluster - Remove duplicated line in docs (hashicorp#3940)

* Bug Fix: `azurerm_api_managment_product` - Additional validation for `approval_required` (hashicorp#3945)

* Update CHANGELOG.md

* Bug Fix: `azurerm_storage_table` - Migrate id to new format hashicorp#3932

* Bug Fix: `azurerm_kubernetes_cluster` - suppress case difference on `load_balancer_sku` (hashicorp#3958)

* Fix crash (hashicorp#3966)

* Update CHANGELOG.md

* Fix the typo in the application gateway name (hashicorp#3953)

The application gateway was referenced by name `test` while it's defined as `network`

* azurerm_storage_account - fix `enable_advanced_threat_protectio… (hashicorp#3947)

fixes hashicorp#3920

* Update CHANGELOG.md to include hashicorp#3947

* Update CHANGELOG.md

* Bug Fix - `azurerm_iot_dps` fix deletion issue with service principal hashicorp#3973

* Update CHANGELOG.md

* Update hash function for os_profile_linux_config (hashicorp#3837)

* Add new acc test to verify ssh key issue

This commit adds a new acceptance test to verify that the vmss is not
calculating correctly the hashcode for the `os_profile_linux_config`

Related: hashicorp#3836

* Update OsProfileLinuxConfigHash generator

Update the `resourceArmVirtualMachineScaleSetOsProfileLinuxConfigHash` method to
include in the hash function the fields from the `ssh_keys` subelements.

Fixes: hashicorp#3836

* Update CHANGELOG.md to include hashicorp#3837

* Bugfix: Fixes the acceptance tests for resource_arm_dev_test_*_virtual_machine_test.go (hashicorp#3717)

* Update CHANGELOG.md to include hashicorp#3717

* azurerm_network_ddos_protection_plan - correctly decodes the re… (hashicorp#3975)

Fixes hashicorp#3974

* Update CHANGELOG.md to include hashicorp#3975

* azurerm_virtual_machine_scale_set  - changes made to `network… (hashicorp#3821)

The acceptance tests added here are describing the issue as reported by
this ticket hashicorp#3812

Initially tried to remove the custom Set method which calculates the hashcode similar to what is suggested by hashicorp/terraform#10520 and hashicorp/terraform#15420 but then we got into a position that the test framework was generating a perpetual diff.

So the current solution was to include the other fields in the hashcode calculation.

Many thanks to @kwilczynski

Fixes: hashicorp#3812
Co-authored-by: Krzysztof Wilczynski kw@linux.com

* Update CHANGELOG.md to include hashicorp#3821

* azurerm_postgresql_server  - support for version `11.0` (hashicorp#3970)

Fixes hashicorp#3969, and relates to hashicorp#3327 even so it doesn't solve the problem for 10.X versions. The Azure SDK for go doesn't provide version 10.7 for example, see here. But fortunately it has a version 11.

* Update CHANGELOG.md to include hashicorp#3970

* Update CHANGELOG.md to include hashicorp#3986

* storage: always nil check resource group before deref (hashicorp#3986)

* v1.32.1

* Cleanup after v1.32.1 release

* Added LogAnalyticsDestinationType

* Updated the docs

* Added the attribute to the doc

*  Added the value to the error string

* New Resource azurerm_dev_test_lab_schedule - Fix for issue 2334  (hashicorp#3554)

This pull request is to fix issue hashicorp#2334, It has changes to add new resource provider **azurerm_dev_test_lab_schedule**.

**Additional Points**
* Resource provider has been created based on [microsoft.devtestlab/2016-05-15/schedules](https://docs.microsoft.com/en-us/azure/templates/microsoft.devtestlab/2016-05-15/schedules)

(fixes hashicorp#2334)

* Update CHANGELOG.md to include hashicorp#3554

* Bug Fix: `azurerm_app_service_plan` - workaround for missing error on 404 hashicorp#3990

* Update CHANGELOG.md

* Fixing typo (hashicorp#3992)

* New Feature: `azrurerm_iot_dps` - add support for `linked_hub` (hashicorp#3922)

* Update CHANGELOG.md

* azurerm_postgresql_server  - remove unsupported version `10.2` (hashicorp#3915)

Closes hashicorp#3327

* Update CHANGELOG.md to include hashicorp#3915

* Switch more client registrations to new format (hashicorp#3895)

* Added property read and simplified validation

* Added check that the log analytics workspace id is provided

* Added log_analytics_destination_type to the logAnalyticsWorkspace test

* Data source for azurerm_dev_test_virtual_network (hashicorp#3746)

* Update CHANGELOG.md to include hashicorp#3554

* azurerm_function_app - support for cors (hashicorp#3949)

* Update CHANGELOG.md to include hashicorp#3949

* azurerm_role_definition - enture role_definition_id is correctl… (hashicorp#3913)

We encountered the issue where role_definition_id remained nil after create, returning 409s on RoleDefinitionsClient.CreateOrUpdate with code RoleDefinitionWithSameNameExists.

Updating role definition resource was failing because resourceArmRoleDefinitionCreateUpdate checks if role_definition_id is nil and, if so, creates a new uuid and calls client.CreateOrUpdate which attempts to create a new resource instead of updating.

* Update CHANGELOG.md to include hashicorp#3913

* Updated api_management_api_policy for XML file explanation (hashicorp#3994)

Added a note for those seeking to utilize -PolicyFilePath from docs.microsoft.com/en-us/powershell/module/azurerm.apimanagement/set-azurermapimanagementpolicy?view=azurermps-6.13.0#parameters

Tested in Azure, this works and would prevent work on implementing PolicyFilePath as another parameter.

* `azurerm_traffic_manager_profile`  - support for the `interval_… (hashicorp#3473)

* Update CHANGELOG.md to include hashicorp#3473

* Migrate more clients to new registration pattern (hashicorp#3999)

* azurerm_batch_certificate - fix thumbprint casing in tests (hashicorp#3977)

* update CHANGELOG.md to include hashicorp#3977

* Update azurerm/resource_arm_cosmosdb_account.go

* Update azurerm/resource_arm_cosmosdb_account.go

* quote echo

* update echo

* change GOGC to 15

* Support for registering Data Sources and Resources from packages

* tags: refactoring out to a new package

    ```
    $ go test -v ./azurerm/internal/tags/
    === RUN   TestExpand
    --- PASS: TestExpand (0.00s)
    === RUN   TestFilter
    --- PASS: TestFilter (0.00s)
    === RUN   TestFlatten
    --- PASS: TestFlatten (0.00s)
        flatten_test.go:46: [DEBUG] Test "Empty"
        flatten_test.go:46: [DEBUG] Test "One Item"
        flatten_test.go:46: [DEBUG] Test "Multiple Items"
    === RUN   TestValidateMaximumNumberOfTags
    --- PASS: TestValidateMaximumNumberOfTags (0.00s)
    === RUN   TestValidateTagMaxKeyLength
    --- PASS: TestValidateTagMaxKeyLength (0.00s)
    === RUN   TestValidateTagMaxValueLength
    --- PASS: TestValidateTagMaxValueLength (0.00s)
    PASS
    ok      github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/tags 0.021s

* tags: moving the existing methods to deprecated.go

* refactor: moving the top level methods

* refactor: moving the networking specific method out

* azurerm_analysis_services_server - correct import documentation (server -> servers) (hashicorp#4005)

* change GOGC to 20

* Moved test changes to new test TestAccAzureRMMonitorDiagnosticSetting_logAnalyticsWorkspaceDedicated.

* Update storage_account.html.markdown

* azurerm_container_group - allow empty log_type

This is not documented anywhere, as far as I can tell, but if you leave
out `logType` when creating the container, you get the behavior of
both `ContainerInsights` and `ContainerInstanceLogs` at once.

If `logType` is not set, metadata can't be set either.

* refactor: moving the validation functions into the validate package

* refactor: moving into the deprecated.go

* f/service-registration: updating the checklist needed to refactor into packages

* azurem_container_group - add a test for unset log_type

* fixing the linting

* fixing the linting

* refactor: moving locks into the internal package

* Fix typo in private_dns_a_record docs

* provider: add the disable_correlation_request_id option and red… (hashicorp#4023)

* resolve conflicts

* Add resource_arm_private_dns_cname_record

* updating to include hashicorp#4024

* Fix review comments

Co-Authored-By: Tom Harvey <tombuildsstuff@users.noreply.github.com>

* Fix lint issue

* dns_zone: deprecatiog the `zone_type` field

* updating to include hashicorp#4028

* Update postgresql_server.html.markdown

Clarified what geo_redundant_backup means.  Source: https://docs.microsoft.com/en-us/azure/postgresql/concepts-backup

* updating to include hashicorp#4033

* r/container_group: polling to ensure the NIC is removed from the Network Profile

* removing a todo

* provider: ensure test logging has date/time

* updating to include hashicorp#3716

* r/storage_account: sorting the docs alphabtically

* r/storage_account: defaulting the default_action field to 'Allow'

* r/storage_account: moving the 'not applicable' text under the top level block definition

* provider: misc golang inspection cleanup (hashicorp#4039)

* Updating to include hashicorp#4013

* clarification on which API to use (hashicorp#3946)

* go get github.com/hashicorp/terraform@v0.12.6; go mod tidy; go mod vendor;

* updating to include hashicorp#4041

* Updating to include hashicorp#4037

* r/monitor_diagnostic_setting: fixing the formatting of the note

* updating to include hashicorp#3987

* change graphrabc client registrations to new pattern

* change compute client registrations to new pattern

* change datalake client registrations to new pattern

* change monitor  client registrations to new pattern

* Update servicebus_subscription_rule.html.markdown (hashicorp#4051)

The import example for the subscription filter is incorrect- the resource type is 'azurerm_servicebus_subscription', where it should be 'azurerm_servicebus_subscription_rule'

* change network client registrations to new pattern

* change resource client registrations to new pattern

* change sql client registrations to new pattern

* Upped Storage share limit to 100TB; updated docs (hashicorp#4054)

* Update CHANGELOG.md to include hashicorp#4054

* I noticed at the top of the page, it still said azurerm_dns_a_record instead of azurerm_private_dns_a_record

* Update function_app.html.markdown (hashicorp#4073)

* Update function_app.html.markdown

I have run into hours of headaches with Azure in particular -- unless some default app settings are specified / seeded within my terraform code. Please include note specified under app settings (and/or something similar). We deploy with Azure DevOps release pipeline, and without these defaults, we cannot successfully deploy to a terraformed function app.

* Update function_app.html.markdown

* provider: increase linter deadline to 10m (hashicorp#4077)

* New Resource: azurerm_mariadb_configuration (hashicorp#4060)

* Update to include hashicorp#4060

* [azurerm_role_assignment] Add support for Management Groups (hashicorp#4063)

Solves hashicorp#4040

* update CHANGELOG.md to include hashicorp#4063

* [resource_arm_function_app] Add missing vnet_name property (hashicorp#4078)

* Update CHANGELOG.md to include hashicorp#4078
  • Loading branch information
Junyi Yi authored and metacpp committed Aug 15, 2019
1 parent b283a20 commit 2ab6a7d
Show file tree
Hide file tree
Showing 1,209 changed files with 108,026 additions and 15,400 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ examples/**/test.tf
examples/**/test.tfvars
examples/**/terraform
examples/**/terraform.zip

#never upload the build to git
terraform-provider-azurerm
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 7m7s
deadline: 10m10s
modules-download-mode: vendor

issues:
Expand Down
122 changes: 121 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,130 @@
## 1.32.0 (Unreleased)
## 1.33.0 (Unreleased)

FEATURES:

* **New Data Source:** `azurerm_dev_test_virtual_network` [GH-3746]
* **New Resource:** `azurerm_dev_test_lab_schedule` [GH-3554]
* **New Resource:** `azurerm_mariadb_configuration` [GH-4060]
* **New Resource:** `azurerm_private_dns_cname_record` [GH-4028]

IMPROVEMENTS:

* dependencies: upgrading the `authorization` SDK to `2018-09-01` [GH-4063]
* dependencies: upgrading `github.com/hashicorp/terraform` to `0.12.6` [GH-4041]
* internal: removing a duplicate Date/Time from the debug logs [GH-4024]
* Data Source `azurerm_dns_zone`: deprecating the `zone_type` field [GH-4033]
* `azurerm_container_group` - support for attaching to a (Private) Virtual Network [GH-3716]
* `azurerm_container_group` - `log_type` can now be an empty string [GH-4013]
* `azurerm_dns_zone` - deprecating the `zone_type` field [GH-4033]
* `azurerm_function_app` - support for cors [GH-3949]
* `azurerm_function_app` - support for the `virtual_network_name` property [GH-4078]
* `azurerm_iot_dps` - add support for the `linked_hub` property [GH-3922]
* `azurerm_monitor_diagnostic_setting` - support for `log_analytics_destination_type` [GH-3987]
* `azurerm_role_assignment` - now supports management groups [GH-4063]
* `azurerm_traffic_manager_profile` - support for the `interval_in_seconds`, `timeout_in_seconds`, and `tolerated_number_of_failures` properties [GH-3473]

BUG FIXES:

* `azurerm_app_service_plan` - workaround for missing error on 404 [GH-3990]
* `azurerm_batch_certificate` - the `thumbprint_algorithm` property is now case insensitive [GH-3977]
* `azurerm_role_definition` - enture `role_definition_id` is correctly set if left empty during creation [GH-3913]
* `azurerm_postgresql_server` - removal of unsupported version `10.2` [GH-3915]
* `azurerm_storage_account` - making `default_action` within the `network_rules` block required [GH-4037]
* `azurerm_storage_account` - making the `network_rules` block computed [GH-4037]
* `azurerm_storage_share` - allow up to 100TB for the `quota` property [GH-4054]

## 1.32.1 (July 31, 2019)

BUG FIXES:

* `azurerm_application_gateway` fix an index out of range crash ([#3966](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3966))
* `azurerm_api_management_backend` - ensuring a nil `certificates` object is sent to the API instead of an empty one ([#3931](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3931))
* `azurerm_api_managment_product` - additional validation for `approval_required` ([#3945](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3945))
* `azurerm_network_ddos_protection_plan` - correctly decodes the resource ID on read/delete ([#3975](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3975))
* `aurerm_dev_test_virtual_network` - generate subnet IDs in the correct format ([#3717](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3717))
* `azurerm_iot_dps` fixed deletion issue when using a service principal ([#3973](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3973))
* `azurerm_kubernetes_cluster` - the `load_balancer_sku` property is now case insensitive ([#3958](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3958))
* `azurerm_postgresql_server` - add missing support for version `11.0` ([#3970](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3970))
* `azurerm_storage_*` - prevent multiple panics when a storage account/resource group cannot be found ([#3986](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3986))
* `azurerm_storage_account` - fix `enable_advanced_threat_protection` create/read for unsupported regions ([#3947](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3947))
* `azurerm_storage_table` - now migrates older versions of the resource id to the new format ([#3932](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3932))
* `azurerm_virtual_machine_scale_set` - the `ssh_keys` property of the `os_profile_linux_config` block now recognizes updates ([#3837](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3837))
* `azurerm_virtual_machine_scale_set` - changes made to the `network_profile` property should now be correctly reflected during updates ([#3821](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3821))


## 1.32.0 (July 24, 2019)

FEATURES:

* **New Data Source:** `azurerm_maps_account` ([#3698](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3698))
* **New Data Source:** `azurerm_mssql_elasticpool` ([#3824](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3824))
* **New Resource:** `azurerm_analysis_services_server` ([#3721](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3721))
* **New Resource:** `azurerm_api_management_backend` ([#3676](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3676))
* **New Resource:** `azurerm_batch_application` ([#3825](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3825))
* **New Resource:** `azurerm_maps_account` ([#3698](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3698))
* **New Resource:** `azurerm_private_dns_zone_a_record` ([#3849](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3849))
* **New Resource:** `azurerm_storage_table_entity` ([#3831](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3831))
* **New Resource:** `azurerm_storage_share_directory` ([#3802](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3802))

IMPROVEMENTS:

* dependencies: upgrading to `v31.0.0` of `github.com/Azure/azure-sdk-for-go` ([#3786](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3786))
* dependencies: upgrading to `v0.5.0` of `github.com/hashicorp/go-azure-helpers` ([#3850](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3850))
* dependencies: upgrading the `containerservice` SDK to `2019-02-01` ([#3787](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3787))
* dependencies: upgrading the `subscription` SDK to `2018-06-01` ([#3811](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3811))
* authentication: showing a more helpful error when attempting to use the Azure CLI authentication when logged in as a Service Principal ([#3850](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3850))
* Data Source `azurerm_function_app` - support for `auth_settings` ([#3893](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3893))
* Data Source `azurerm_subscription` - support the `tenant_id` property ([#3811](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3811))
* `azurerm_app_service` - support for backups ([#3804](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3804))
* `azurerm_app_service` - support for storage mounts ([#3792](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3792))
* `azurerm_app_service` - support for user assigned identities ([#3637](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3637))
* `azurerm_app_service_slot` - support for `auth_settings` ([#3897](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3897))
* `azurerm_app_service_slot` - support for user assigned identities ([#3637](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3637))
* `azurerm_application_gateway` - Support for Managed Identities ([#3648](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3648))
* `azurerm_batch_pool` - support for custom images with the `storage_image_reference` property ([#3530](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3530))
* `azurerm_batch_account` - expose required properties for when `pool_allocation_mode` is `UserSubscription` ([#3535](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3535))
* `azurerm_cognitive_account` - add support for `CustomVision.Training` and `CustomVision.Prediction` to the `kind` property ([#3817](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3817))
* `azurerm_container_registry` - support for `network_rule_set` property ([#3194](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3194))
* `azurerm_cosmosdb_account` - validate `max_interval_in_seconds` and `max_staleness_prefix` correctly when using more then 1 geo_location ([#3906](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3906))
* `azurerm_function_app` - support for `auth_settings` ([#3893](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3893))
* `azurerm_iothub` - support for the `file_upload` property ([#3735](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3735))
* `azurerm_kubernetes_cluster` - support for auto scaling ([#3361](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3361))
* `azurerm_kubernetes_cluster` - support for `custom_resource_group_name` ([#3785](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3785))
* `azurerm_kubernetes_cluster` - support for the `node_taints` property ([#3787](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3787))
* `azurerm_kubernetes_cluster` - support for the `windows_profile` property ([#3519](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3519))
* `kubernetes_cluster` - support for specifying the `load_balancer_sku` property ([#3890](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3890))
* `azurerm_recovery_services_protected_vm` - changing `backup_policy_id` no longer forces a new resource ([#3822](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3822))
* `azurerm_security_center_contact` - the `phone` property is now optional ([#3761](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3761))
* `azurerm_storage_account` - the `account_kind` property now supports `FileStorage` ([#3750](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3750))
* `azurerm_storage_account` - support for the `enable_advanced_threat_protection` property ([#3782](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3782))
* `azurerm_storage_account` - support for `queue_properties` ([#3859](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3859))
* `azurerm_storage_blob` - making `metadata` a computed field ([#3842](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3842))
* `azurerm_storage_container` - switching to use github.com/tombuildsstuff/giovanni ([#3857](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3857))
* `azurerm_storage_container` - adding support for `metadata` ([#3857](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3857))
* `azurerm_storage_container` - can now create containers with the name `$web` ([#3896](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3896))
* `azurerm_storage_queue` - switching to use github.com/tombuildsstuff/giovanni ([#3832](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3832))
* `azurerm_storage_share` - switching to use github.com/tombuildsstuff/giovanni ([#3828](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3828))
* `azurerm_storage_share` - support for configuring ACL's ([#3830](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3830))
* `azurerm_storage_share` - support for configuring MetaData ([#3830](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3830))
* `azurerm_storage_table` - switching to use github.com/tombuildsstuff/giovanni ([#3834](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3834))
* `azurerm_storage_table` - support for configuring ACL's ([#3847](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3847))
* `azurerm_traffic_manager_endpoint` - supper for `custom_header` and `subnet` properties ([#3655](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3655))
* `azurerm_virtual_machine` - switching over to use the github.com/tombuildsstuff/giovanni Storage SDK ([#3838](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3838))
* `azurerm_virtual_machine` - looking up the data disks attached to the Virtual Machine when optionally deleting them upon deletion rather than parsing them from the config ([#3838](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3838))
* `azurerm_virtual_machine_scale_set` - prevent `public_ip_address_configuration` from being lost during update ([#3767](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3767))

BUG FIXES:

* `azurerm_image` - prevent crash when using `data_disk` ([#3797](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3797))
* `azurerm_role_assignment` - now correctly uses `scope` when looking up the role definition by name ([#3768](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3768))

## 1.31.0 (June 28, 2019)

FEATURES:

* increase the default timeout to `3 hours` ([#3737](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3737))
* **New Resource:** `azurerm_iot_dps` ([#3618](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3618))
* **New Resource:** `azurerm_iot_dps_certificate` ([#3567](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3645))
* **New Resource:** `azurerm_mariadb_firewall_rule` ([#3720](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3720))
* **New Resource:** `azurerm_private_dns_zone` ([#3718](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3718))
* **New Resource:** `azurerm_stream_analytics_output_mssql` ([#3567](https://github.com/terraform-providers/terraform-provider-azurerm/issues/3567))
Expand Down
Loading

0 comments on commit 2ab6a7d

Please sign in to comment.