Closed hbuckle closed 2 years ago
Hi @hbuckle! Thanks for raising this issue!
I've created part of this, but I don't recall the exact difference between OnlineSecondary
and Secondary
. Does it mean an OnlineSecondary
is readable and could contain an extended_auditing_policy
, while an Secondary
can't? I remember getting errors on creating a Secondary
with extended_auditing_policy
iirc..
In case that is the logic to apply I could easily fix this problem!
Ouch, seems like the read was not properly implemented for an OnlineSecondary
, only for Secondary
. PR (#14192) is ready!
I can't figure out the difference between OnlineSecondary
and Secondary
TBH. I've actually switched to Secondary
now as that is what the provider sets when you import a secondary DB
The API lists both, but it only documents Secondary
Indeed! Nice that your setup works already without the fix!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureRM Provider) Version
Terraform v1.0.9 on windows_amd64
Affected Resource(s)
azurerm_mssql_database
Terraform Configuration Files
Actual Behaviour
Running
terraform apply
creates both databases successfully, but subsequent applies to change a property results in an error:Steps to Reproduce