govuk-infrastructure icon indicating copy to clipboard operation
govuk-infrastructure copied to clipboard

No drift detection for GitHub config

Open AgaDufrat opened this issue 4 months ago • 0 comments

Old GitHub configuration script used to run daily overwriting any manual changes. The new implementation with Terraform needs to be manually applied.

We may want to consider:

  • having some drift detection and notifications.
    • https://app.terraform.io/app/govuk/workspaces/GitHub/health/drift
    • https://developer.hashicorp.com/terraform/cloud-docs/workspaces/settings/notifications
    • https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/notification_configuration
  • (not advised) consider a scheduled plan/apply. This can be done via API https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run#create-a-run

AgaDufrat avatar Oct 18 '24 11:10 AgaDufrat