-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provider/azurerm: fix servicebus_topic updating values (#9323)
enable_partitioning set to ForceNew requires_duplicate_detection set to ForceNew max_size_in_megabytes would cause a loop if enable_partitioning was true as this causes the value to be multiplied by 16 for it's effective value, this computed value is then returned by the ARM API in the same field which caused Terraform to always detect a change ``` TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMServiceBusTopic -timeout 120m === RUN TestAccAzureRMServiceBusTopic_importBasic --- PASS: TestAccAzureRMServiceBusTopic_importBasic (345.08s) === RUN TestAccAzureRMServiceBusTopic_basic --- PASS: TestAccAzureRMServiceBusTopic_basic (342.23s) === RUN TestAccAzureRMServiceBusTopic_update --- PASS: TestAccAzureRMServiceBusTopic_update (359.56s) === RUN TestAccAzureRMServiceBusTopic_enablePartitioning --- PASS: TestAccAzureRMServiceBusTopic_enablePartitioning (362.80s) === RUN TestAccAzureRMServiceBusTopic_enableDuplicateDetection --- PASS: TestAccAzureRMServiceBusTopic_enableDuplicateDetection (364.97s) PASS ok github.com/hashicorp/terraform/builtin/providers/azurerm 1774.657s ```
- Loading branch information
1 parent
7c56e33
commit c199d1f
Showing
3 changed files
with
132 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters