generated from Azure/terraform-azurerm-avm-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init hci * validate * update * Fix: terraform * keyvault.tf name * fix: part of terraform waring * add tags for storage account * validate * fix lint error * update repo name * update repo name * sensitive for password * nullable for list * locals to local.tf * prevent_deletion_if_contains_resources = false * remove useless var --------- Co-authored-by: Hangyu Xu <[email protected]>
- Loading branch information
Showing
21 changed files
with
1,099 additions
and
465 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
resource "azapi_update_resource" "deploymentsetting" { | ||
count = var.is_exported ? 0 : 1 | ||
|
||
type = "Microsoft.AzureStackHCI/clusters/deploymentSettings@2023-08-01-preview" | ||
body = { | ||
properties = { | ||
deploymentMode = "Deploy" | ||
} | ||
} | ||
name = "default" | ||
parent_id = azapi_resource.cluster.id | ||
|
||
timeouts { | ||
create = "24h" | ||
delete = "60m" | ||
} | ||
|
||
depends_on = [azapi_resource.validatedeploymentsetting, azapi_resource.validatedeploymentsetting_seperate] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
locals { | ||
adou_path = "OU=${var.resource_group_name},${var.adou_suffix}" | ||
custom_location_name = "customlocation-${var.site_id}" | ||
keyvault_name = "kv${var.site_id}" | ||
name = "cl${var.site_id}" | ||
witness_storage_account_name = "${lower(var.site_id)}wit" | ||
} |
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
Oops, something went wrong.