Skip to content

Conversation

@wozzer72
Copy link
Collaborator

@wozzer72 wozzer72 commented Jan 5, 2026

Introduced:

  • backfill_start_date module parameter
    • updated README (terraform-docs)
    • updated examples
  • removed terraform resource to create backfill cost export tasks
  • modified function
    • introduce a backfill timer - runs both carbon export and cost export - from given backfill start date
    • uses S3 bucket lock objects for carbon export, cost export schedule and cost export run
    • cost export schedule - creates the Cost Management export jobs for each backfill month up to last month (if schedule lock does not exist)
    • cost export run - runs the export job (if exists - warns if not) - from last month to backfill start - but in batches of ten on every run (every day)
      • only when there are no more backfills to run (because we have data) will the lock be created.

Workflow is green

Warren to remove the template network/CORS rules on the function app: function_app.tf

@github-actions
Copy link

github-actions bot commented Jan 5, 2026

Pull Request Review Status

  • 🖌 Terraform Format and Style: failure
  • 🔍 Terraform Linting: success
  • 👮 Terraform Security Check: success
  • 👮 Terraform Security Checkov: success
  • 🔘 Terraform Tests: success
  • 🔧 Terraform Initialisation: success
  • 🤖 Terraform Validation: success
  • 🤖 Terraform Example Validation: success
  • 📖 Terraform Documentation: success
  • 🔖 Commitlint: ``

Working Directory: .
Pusher: @wozzer72, Action: pull_request
Workflow Run Link: https://github.com/co-cddo/terraform-azure-focus/actions/runs/21146011249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants