Terraform Drift Azure DevOps TaskOverviewThe Terraform Drift Azure DevOps Task is a custom task for Azure Pipelines that checks for Terraform drift and enables reconciliation. It's designed to help you maintain the desired state of your infrastructure as defined in your Terraform configuration files. Idea behind this is to support GitOps approach for Terraform Managed Infrastructure. To utilize full GitOps approach, you can configure cron job pipeline that will repeat reconciliation every xyz minutes(or hours, days) and note that it runs longer depending on your infrastructure complexity. Minutes are charged by Microsoft. Features
Requirements
UsageAfter installing the extension, you can add the Terraform Drift task to any of your pipelines. Currently task does not do installation of terraform, so that should be handled with task preceding TerraformDrift. Also this iteration supports only Azure deployments, aws and google is supported but not tested yet. Besides Terraform you can check for drift in your infrastructure that is deployed with open tofu as well.
To use manual option for reconciliation here is proposal:
SupportIf you encounter any issues or have any questions, please open an issue here https://github.com/subzone/TerraformDrifter/issues License |