Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Keep that for 5.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudlh committed Jun 14, 2023
1 parent a53ed27 commit 2cd3f56
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 52 deletions.
52 changes: 26 additions & 26 deletions caf_launchpad/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,43 +32,43 @@ provider "azurerm" {
partner_id = "ca4078f8-9bc4-471b-ab5b-3af6b86a42c8"
features {
api_management {
purge_soft_delete_on_destroy = try(var.provider_azurerm_features_api_management.purge_soft_delete_on_destroy, null)
recover_soft_deleted_api_managements = try(var.provider_azurerm_features_api_management.recover_soft_deleted_api_managements, null)
}
application_insights {
disable_generated_rule = try(var.provider_azurerm_features_application_insights.disable_generated_rule, null)
purge_soft_delete_on_destroy = try(var.provider_azurerm_features_api_management.purge_soft_delete_on_destroy, null)
# recover_soft_deleted_api_managements = var.provider_azurerm_features_api_management.recover_soft_deleted_api_managements
}
# application_insights {
# disable_generated_rule = var.provider_azurerm_features_application_insights.disable_generated_rule
# }
cognitive_account {
purge_soft_delete_on_destroy = try(var.provider_azurerm_features_cognitive_account.purge_soft_delete_on_destroy, null)
purge_soft_delete_on_destroy = var.provider_azurerm_features_cognitive_account.purge_soft_delete_on_destroy
}
key_vault {
purge_soft_delete_on_destroy = try(var.provider_azurerm_features_keyvault.purge_soft_delete_on_destroy, null)
purge_soft_deleted_certificates_on_destroy = try(var.provider_azurerm_features_keyvault.purge_soft_deleted_certificates_on_destroy, null)
purge_soft_deleted_keys_on_destroy = try(var.provider_azurerm_features_keyvault.purge_soft_deleted_keys_on_destroy, null)
purge_soft_deleted_secrets_on_destroy = try(var.provider_azurerm_features_keyvault.purge_soft_deleted_secrets_on_destroy, null)
recover_soft_deleted_certificates = try(var.provider_azurerm_features_keyvault.recover_soft_deleted_certificates, null)
recover_soft_deleted_key_vaults = try(var.provider_azurerm_features_keyvault.recover_soft_deleted_key_vaults, null)
recover_soft_deleted_keys = try(var.provider_azurerm_features_keyvault.recover_soft_deleted_keys, null)
recover_soft_deleted_secrets = try(var.provider_azurerm_features_keyvault.recover_soft_deleted_secrets, null)
}
log_analytics_workspace {
permanently_delete_on_destroy = try(var.provider_azurerm_features_log_analytics_workspace.permanently_delete_on_destroy, null)
}
purge_soft_delete_on_destroy = var.provider_azurerm_features_keyvault.purge_soft_delete_on_destroy
# purge_soft_deleted_certificates_on_destroy = var.provider_azurerm_features_keyvault.purge_soft_deleted_certificates_on_destroy
# purge_soft_deleted_keys_on_destroy = var.provider_azurerm_features_keyvault.purge_soft_deleted_keys_on_destroy
# purge_soft_deleted_secrets_on_destroy = var.provider_azurerm_features_keyvault.purge_soft_deleted_secrets_on_destroy
# recover_soft_deleted_certificates = var.provider_azurerm_features_keyvault.recover_soft_deleted_certificates
# recover_soft_deleted_key_vaults = var.provider_azurerm_features_keyvault.recover_soft_deleted_key_vaults
# recover_soft_deleted_keys = var.provider_azurerm_features_keyvault.recover_soft_deleted_keys
# recover_soft_deleted_secrets = var.provider_azurerm_features_keyvault.recover_soft_deleted_secrets
}
# log_analytics_workspace {
# permanently_delete_on_destroy = var.provider_azurerm_features_log_analytics_workspace.permanently_delete_on_destroy
# }
resource_group {
prevent_deletion_if_contains_resources = try(var.provider_azurerm_features_resource_group.prevent_deletion_if_contains_resources, null)
prevent_deletion_if_contains_resources = var.provider_azurerm_features_resource_group.prevent_deletion_if_contains_resources
}
template_deployment {
delete_nested_items_during_deletion = try(var.provider_azurerm_features_template_deployment.delete_nested_items_during_deletion, null)
delete_nested_items_during_deletion = var.provider_azurerm_features_template_deployment.delete_nested_items_during_deletion
}
virtual_machine {
delete_os_disk_on_deletion = try(var.provider_azurerm_features_virtual_machine.delete_os_disk_on_deletion, null)
graceful_shutdown = try(var.provider_azurerm_features_virtual_machine.graceful_shutdown, null)
skip_shutdown_and_force_delete = try(var.provider_azurerm_features_virtual_machine.skip_shutdown_and_force_delete, null)
delete_os_disk_on_deletion = var.provider_azurerm_features_virtual_machine.delete_os_disk_on_deletion
graceful_shutdown = var.provider_azurerm_features_virtual_machine.graceful_shutdown
skip_shutdown_and_force_delete = var.provider_azurerm_features_virtual_machine.skip_shutdown_and_force_delete
}
virtual_machine_scale_set {
force_delete = try(var.provider_azurerm_features_virtual_machine_scale_set.force_delete, null)
roll_instances_when_required = try(var.provider_azurerm_features_virtual_machine_scale_set.roll_instances_when_required, null)
scale_to_zero_before_deletion = try(var.provider_azurerm_features_virtual_machine_scale_set.scale_to_zero_before_deletion, null)
force_delete = var.provider_azurerm_features_virtual_machine_scale_set.force_delete
roll_instances_when_required = var.provider_azurerm_features_virtual_machine_scale_set.roll_instances_when_required
scale_to_zero_before_deletion = var.provider_azurerm_features_virtual_machine_scale_set.scale_to_zero_before_deletion
}
}
}
Expand Down
52 changes: 26 additions & 26 deletions caf_solution/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,43 +35,43 @@ provider "azurerm" {
# partner identifier for CAF Terraform landing zones.
features {
api_management {
purge_soft_delete_on_destroy = try(var.provider_azurerm_features_api_management.purge_soft_delete_on_destroy, null)
recover_soft_deleted_api_managements = try(var.provider_azurerm_features_api_management.recover_soft_deleted_api_managements, null)
}
application_insights {
disable_generated_rule = try(var.provider_azurerm_features_application_insights.disable_generated_rule, null)
purge_soft_delete_on_destroy = try(var.provider_azurerm_features_api_management.purge_soft_delete_on_destroy, null)
# recover_soft_deleted_api_managements = var.provider_azurerm_features_api_management.recover_soft_deleted_api_managements
}
# application_insights {
# disable_generated_rule = var.provider_azurerm_features_application_insights.disable_generated_rule
# }
cognitive_account {
purge_soft_delete_on_destroy = try(var.provider_azurerm_features_cognitive_account.purge_soft_delete_on_destroy, null)
purge_soft_delete_on_destroy = var.provider_azurerm_features_cognitive_account.purge_soft_delete_on_destroy
}
key_vault {
purge_soft_delete_on_destroy = try(var.provider_azurerm_features_keyvault.purge_soft_delete_on_destroy, false)
purge_soft_deleted_certificates_on_destroy = try(var.provider_azurerm_features_keyvault.purge_soft_deleted_certificates_on_destroy, null)
purge_soft_deleted_keys_on_destroy = try(var.provider_azurerm_features_keyvault.purge_soft_deleted_keys_on_destroy, null)
purge_soft_deleted_secrets_on_destroy = try(var.provider_azurerm_features_keyvault.purge_soft_deleted_secrets_on_destroy, null)
recover_soft_deleted_certificates = try(var.provider_azurerm_features_keyvault.recover_soft_deleted_certificate, null)
recover_soft_deleted_key_vaults = try(var.provider_azurerm_features_keyvault.recover_soft_deleted_key_vaults, true)
recover_soft_deleted_keys = try(var.provider_azurerm_features_keyvault.recover_soft_deleted_keys, null)
recover_soft_deleted_secrets = try(var.provider_azurerm_features_keyvault.recover_soft_deleted_secrets, null)
}
log_analytics_workspace {
permanently_delete_on_destroy = try(var.provider_azurerm_features_log_analytics_workspace.permanently_delete_on_destroy, null)
}
purge_soft_delete_on_destroy = try(var.provider_azurerm_features_keyvault.purge_soft_delete_on_destroy, false)
# purge_soft_deleted_certificates_on_destroy = var.provider_azurerm_features_keyvault.purge_soft_deleted_certificates_on_destroy
# purge_soft_deleted_keys_on_destroy = var.provider_azurerm_features_keyvault.purge_soft_deleted_keys_on_destroy
# purge_soft_deleted_secrets_on_destroy = var.provider_azurerm_features_keyvault.purge_soft_deleted_secrets_on_destroy
# recover_soft_deleted_certificates = var.provider_azurerm_features_keyvault.recover_soft_deleted_certificates
recover_soft_deleted_key_vaults = try(var.provider_azurerm_features_keyvault.recover_soft_deleted_key_vaults, true)
# recover_soft_deleted_keys = var.provider_azurerm_features_keyvault.recover_soft_deleted_keys
# recover_soft_deleted_secrets = var.provider_azurerm_features_keyvault.recover_soft_deleted_secrets
}
# log_analytics_workspace {
# permanently_delete_on_destroy = var.provider_azurerm_features_log_analytics_workspace.permanently_delete_on_destroy
# }
resource_group {
prevent_deletion_if_contains_resources = try(var.provider_azurerm_features_resource_group.prevent_deletion_if_contains_resources, null)
prevent_deletion_if_contains_resources = var.provider_azurerm_features_resource_group.prevent_deletion_if_contains_resources
}
template_deployment {
delete_nested_items_during_deletion = try(var.provider_azurerm_features_template_deployment.delete_nested_items_during_deletion, null)
delete_nested_items_during_deletion = var.provider_azurerm_features_template_deployment.delete_nested_items_during_deletion
}
virtual_machine {
delete_os_disk_on_deletion = try(var.provider_azurerm_features_virtual_machine.delete_os_disk_on_deletion, null)
graceful_shutdown = try(var.provider_azurerm_features_virtual_machine.graceful_shutdown, null)
skip_shutdown_and_force_delete = try(var.provider_azurerm_features_virtual_machine.skip_shutdown_and_force_delete, null)
delete_os_disk_on_deletion = var.provider_azurerm_features_virtual_machine.delete_os_disk_on_deletion
graceful_shutdown = var.provider_azurerm_features_virtual_machine.graceful_shutdown
skip_shutdown_and_force_delete = var.provider_azurerm_features_virtual_machine.skip_shutdown_and_force_delete
}
virtual_machine_scale_set {
force_delete = try(var.provider_azurerm_features_virtual_machine_scale_set.force_delete, null)
roll_instances_when_required = try(var.provider_azurerm_features_virtual_machine_scale_set.roll_instances_when_required, null)
scale_to_zero_before_deletion = try(var.provider_azurerm_features_virtual_machine_scale_set.scale_to_zero_before_deletion, null)
force_delete = var.provider_azurerm_features_virtual_machine_scale_set.force_delete
roll_instances_when_required = var.provider_azurerm_features_virtual_machine_scale_set.roll_instances_when_required
scale_to_zero_before_deletion = var.provider_azurerm_features_virtual_machine_scale_set.scale_to_zero_before_deletion
}
}
}
Expand Down

0 comments on commit 2cd3f56

Please sign in to comment.