Skip to content

Commit

Permalink
fix: storage account name (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: Hangyu Xu <[email protected]>
  • Loading branch information
xhy8759 and Hangyu Xu authored Sep 14, 2024
1 parent ded6e32 commit 9bd0001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validate.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resource "azapi_resource" "validatedeploymentsetting" {
name = var.cluster_name == "" ? azapi_resource.cluster.name : var.cluster_name
witnessType = var.witness_type
witnessPath = var.witness_path
cloudAccountName = var.witness_storage_account_name
cloudAccountName = var.create_witness_storage_account ? azurerm_storage_account.witness[0].name : var.witness_storage_account_name
azureServiceEndpoint = var.azure_service_endpoint
}
storage = {
Expand Down

0 comments on commit 9bd0001

Please sign in to comment.