Skip to content

Instantly share code, notes, and snippets.

@rohanvirmani
Last active March 26, 2020 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohanvirmani/f7d90ba445ce0c6420f4f3796665c8fd to your computer and use it in GitHub Desktop.
Save rohanvirmani/f7d90ba445ce0c6420f4f3796665c8fd to your computer and use it in GitHub Desktop.
TF Secondary DB errors
Error: Error issuing create/update request for SQL Database "DB" Blob Auditing Policies(SQL Server "sqlsvr"/ Resource Group "resourcegroup"): sql.ExtendedDatabaseBlobAuditingPoliciesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BlobAuditingIsNotSupportedOnGeoDr" Message="Blob auditing can be configured on primary databases only."
2020-03-20T17:31:11.5032312Z
2020-03-20T17:31:11.5032410Z on ..\..\hosting-modules\data\sql\main.tf line 128, in resource "azurerm_sql_database" "database_secondary":
2020-03-20T17:31:11.5032545Z 128: resource "azurerm_sql_database" "database_secondary" {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment