Terraform Destroy Succeeded On 2025-04-21 04:56:18 UTC

by ADMIN 55 views

Terraform Destroy Success

Terraform destroy is a crucial step in the infrastructure as code (IaC) workflow. It allows you to safely delete resources created by Terraform, ensuring that your infrastructure is properly cleaned up and resources are not left behind.

Terraform Destroy Output

The Terraform destroy output provides a detailed view of the resources being destroyed, including their IDs, names, and other relevant information. This output is essential for verifying that the correct resources are being deleted and for troubleshooting any issues that may arise during the destruction process.

Terraform Destroy Plan

Before proceeding with the destruction, Terraform generates a plan that outlines the resources that will be deleted. This plan is a crucial step in the destruction process, as it allows you to review and confirm the resources that will be deleted.

Terraform Destroy Execution

Once the plan is confirmed, Terraform begins the destruction process. This process involves deleting the resources specified in the plan, which can take several minutes or even hours, depending on the complexity of the infrastructure and the number of resources being deleted.

Terraform Destroy Completion

Once the destruction process is complete, Terraform releases the state lock, indicating that the destruction is complete. This is a critical step, as it ensures that the infrastructure is properly cleaned up and resources are not left behind.

Terraform Destroy Output Summary

The Terraform destroy output provides a summary of the resources that were destroyed, including their IDs, names, and other relevant information. This output is essential for verifying that the correct resources were deleted and for troubleshooting any issues that may arise during the destruction process.

Terraform Destroy Output Details

The Terraform destroy output provides detailed information about the resources that were destroyed, including their IDs, names, and other relevant information. This output is essential for verifying that the correct resources were deleted and for troubleshooting any issues that may arise during the destruction process.

Terraform Destroy Output Example

The Terraform destroy output example below provides a detailed view of the resources that were destroyed, including their IDs, names, and other relevant information.

Acquiring state lock. This may take a few moments...
module.azure_sql.module.entra_id_role_assignment.azuread_directory_role.privileged_role_administrator: Refreshing state... [id=/directoryRoles/7204237b-4beb-4217-a1b9-549652996188]
module.azure_keyvault.data.azurerm_client_config.current: Reading...
module.azure_sql.data.azurerm_client_config.current: Reading...
module.resource_group.azurerm_resource_group.rg: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861]
module.azure_keyvault.data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lMDM0MmVlZi1hMTRiLTRkNzktOThkZC1lZGJjM2VkOWI5OTA7b2JqZWN0SWQ9M2U0Y2EzMjYtMDNki00ZmE1LTg0ZWYtZjRkYWU3NTA5NGU4O3N1YnNjcmlwdGlvbklkPWI5OWI1YjdjLThjMjEtNDIwMy04NjNhLTg0Y2NlNTRkZTdjMDt0ZW5hbnRJZD1jZGE0NTgyMC01ODZlLTQ3MjAtOTVhZS05OGJmNmI4NmQ2NzA=]
module.azure_sql.data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lMDM0MmVlZi1hMTRiLTRkNzktOThkZC1lZGJjM2VkOWI5OTA7b2JqZWN0SWQ9M2U0Y2EzMjYtMDNkYi00ZmE1LTg0ZWYtZjRkYWU3NTA5NGU4O3N1YnNjcmlwdGlvbklkPWI5OWI1YjdjLThjMjEtNDIwMy04NjNhLTg0Y2NlNTRkZTdjMDt0ZW5hbnRJZD1jZGE0NTgyMC01ODZlLTQ3MjAtOTVhZS05OGJmNmI4NmQ2NzA=]
module.azure_sql.data.azuread_service_principal.current: Reading...
module.azure_sql.data.azuread_service_principal.current: Read complete after 1s [id=/servicePrincipals/3e4ca326-03db-4fa5-84ef-f4dae75094e8]
module.user_assigned_identity.azurerm_user_assigned_identity.msi: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.ManagedIdentity/userAssignedIdentities/wkldiddev5861]
module.azure_sql.azurerm_mssql_server.server: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.Sql/servers/sqlwkldiddev5861]
module.azure_keyvault.azurerm_key_vault.kv: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.KeyVault/vaults/kvwkldiddev5861]
module.aks.azurerm_kubernetes_cluster.aks: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.ContainerService/managedClusters/akswkldiddev5861]
module.azure_keyvault.module.secret_officer_role_assignment.azurerm_role_assignment.role: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.KeyVault/vs/kvwkldiddev5861/providers/Microsoft.Authorization/roleAssignments/0772685e-81a5-49ea-38c7-f592398b4e85]
module.azure_keyvault.module.secret_user_role_assignment.azurerm_role_assignment.role: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.KeyVault/vaults/kvwkldiddev5861/providers/Microsoft.Authorization/roleAssignments/9d272cd9-93cb-a0c4-bf50-3fc732e18fbe]
module.azure_sql.azurerm_mssql_firewall_rule.allow_azure_services: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.Sql/servers/sqlwkldiddev5861/firewallRules/allow_azure_services]
module.azure_sql.azurerm_mssql_firewall_rule.allow_ips: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.Sql/servers/sqlwkldiddev5861/firewallRules/allow_ips]
module.azure_sql.module.entra_id_role_assignment.azuread_directory_role_assignment.role_assignment: Refreshing state... [id=/roleManagement/directory/roleAssignments/4-PYiFWPHkqVOpuYmLiHa1QnNC5IR5pIm-0T4GNOsac-1]
module.azure_sql.azurerm_mssql_database.database: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.Sql/servers/sqlwkldiddev5861/databases/wkldiddev5861]
module.azure_keyvault.azurerm_key_vault_secret.secret: Refreshing state... [id=https://kvwkldiddev5861.vault.azure.net/secrets/secret/6251846c1ce54e93b7fcdaf416f746b7]
module.aks_federated_credential.azurerm_federated_identity_credential.federated_credential: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.ManagedIdentity/userAssignedIdentities/wkld<br/>
# Terraform Destroy Succeeded on 2025-04-21 04:56:18 UTC

## Terraform Destroy Success

Terraform destroy is a crucial step in the infrastructure as code (IaC) workflow. It allows you to safely delete resources created by Terraform, ensuring that your infrastructure is properly cleaned up and resources are not left behind.

### Terraform Destroy Output

The Terraform destroy output provides a detailed view of the resources being destroyed, including their IDs, names, and other relevant information. This output is essential for verifying that the correct resources are being deleted and for troubleshooting any issues that may arise during the destruction process.

### Terraform Destroy Plan

Before proceeding with the destruction, Terraform generates a plan that outlines the resources that will be deleted. This plan is a crucial step in the destruction process, as it allows you to review and confirm the resources that will be deleted.

### Terraform Destroy Execution

Once the plan is confirmed, Terraform begins the destruction process. This process involves deleting the resources specified in the plan, which can take several minutes or even hours, depending on the complexity of the infrastructure and the number of resources being deleted.

### Terraform Destroy Completion

Once the destruction process is complete, Terraform releases the state lock, indicating that the destruction is complete. This is a critical step, as it ensures that the infrastructure is properly cleaned up and resources are not left behind.

### Terraform Destroy Output Summary

The Terraform destroy output provides a summary of the resources that were destroyed, including their IDs, names, and other relevant information. This output is essential for verifying that the correct resources were deleted and for troubleshooting any issues that may arise during the destruction process.

### Terraform Destroy Output Details

The Terraform destroy output provides detailed information about the resources that were destroyed, including their IDs, names, and other relevant information. This output is essential for verifying that the correct resources were deleted and for troubleshooting any issues that may arise during the destruction process.

### Terraform Destroy Output Example

The Terraform destroy output example below provides a detailed view of the resources that were destroyed, including their IDs, names, and other relevant information.

```terraform
Acquiring state lock. This may take a few moments...
module.azure_sql.module.entra_id_role_assignment.azuread_directory_role.privileged_role_administrator: Refreshing state... [id=/directoryRoles/7204237b-4beb-4217-a1b9-549652996188]
module.azure_keyvault.data.azurerm_client_config.current: Reading...
module.azure_sql.data.azurerm_client_config.current: Reading...
module.resource_group.azurerm_resource_group.rg: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861]
module.azure_keyvault.data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lMDM0MmVlZi1hMTRiLTRkNzktOThkZC1lZGJjM2VkOWI5OTA7b2JqZWN0SWQ9M2U0Y2EzMjYtMDNki00ZmE1LTg0ZWYtZjRkYWU3NTA5NGU4O3N1YnNjcmlwdGlvbklkPWI5OWI1YjdjLThjMjEtNDIwMy04NjNhLTg0Y2NlNTRkZTdjMDt0ZW5hbnRJZD1jZGE0NTgyMC01ODZlLTQ3MjAtOTVhZS05OGJmNmI4NmQ2NzA=]
module.azure_sql.data.azurerm_client_config.current: Read complete after 0s [id=Y2xpZW50Q29uZmlncy9jbGllbnRJZD1lMDM0MmVlZi1hMTRiLTRkNzktOThkZC1lZGJjM2VkOWI5OTA7b2JqZWN0SWQ9M2U0Y2EzMjYtMDNkYi00ZmE1LTg0ZWYtZjRkYWU3NTA5NGU4O3N1YnNjcmlwdGlvbklkPWI5OWI1YjdjLThjMjEtNDIwMy04NjNhLTg0Y2NlNTRkZTdjMDt0ZW5hbnRJZD1jZGE0NTgyMC01ODZlLTQ3MjAtOTVhZS05OGJmNmI4NmQ2NzA=]
module.azure_sql.data.azuread_service_principal.current: Reading...
module.azure_sql.data.azuread_service_principal.current: Read complete after 1s [id=/servicePrincipals/3e4ca326-03db-4fa5-84ef-f4dae75094e8]
module.user_assigned_identity.azurerm_user_assigned_identity.msi: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.ManagedIdentity/userAssignedIdentities/wkldiddev5861]
module.azure_sql.azurerm_mssql_server.server: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.Sql/servers/sqlwkldiddev5861]
module.azure_keyvault.azurerm_key_vault.kv: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.KeyVault/vaults/kvwkldiddev5861]
module.aks.azurerm_kubernetes_cluster.aks: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.ContainerService/managedClusters/akswkldiddev5861]
module.azure_keyvault.module.secret_officer_role_assignment.azurerm_role_assignment.role: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.KeyVault/vs/kvwkldiddev5861/providers/Microsoft.Authorization/roleAssignments/0772685e-81a5-49ea-38c7-f592398b4e85]
module.azure_keyvault.module.secret_user_role_assignment.azurerm_role_assignment.role: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.KeyVault/vaults/kvwkldiddev5861/providers/Microsoft.Authorization/roleAssignments/9d272cd9-93cb-a0c4-bf50-3fc732e18fbe]
module.azure_sql.azurerm_mssql_firewall_rule.allow_azure_services: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.Sql/servers/sqlwkldiddev5861/firewallRules/allow_azure_services]
module.azure_sql.azurerm_mssql_firewall_rule.allow_ips: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.Sql/servers/sqlwkldiddev5861/firewallRules/allow_ips]
module.azure_sql.module.entra_id_role_assignment.azuread_directory_role_assignment.role_assignment: Refreshing state... [id=/roleManagement/directory/roleAssignments/4-PYiFWPHkqVOpuYmLiHa1QnNC5IR5pIm-0T4GNOsac-1]
module.azure_sql.azurerm_mssql_database.database: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.Sql/servers/sqlwkldiddev5861/databases/wkldiddev5861]
module.azure_keyvault.azurerm_key_vault_secret.secret: Refreshing state... [id=https://kvwkldiddev5861.vault.azure.net/secrets/secret/6251846c1ce54e93b7fcdaf416f746b7]
module.aks_federated_credential.azurerm_federated_identity_credential.federated_credential: Refreshing state... [id=/subscriptions/b99b5b7c-8c21-4203-863a-84cce54de7c0/resourceGroups/wkldiddev5861/providers/Microsoft.ManagedIdentity/userAssignedIdentities/wkldiddev586