ministryofjustice / operations-engineering

This repository is home to the Operations Engineering's tools and utilities for managing, monitoring, and optimising software development processes at the Ministry of Justice. • This repository is defined and managed in Terraform
https://user-guide.operations-engineering.service.justice.gov.uk/
MIT License
12 stars 5 forks source link

👷 Implementation of Repository Management as Code #3997

Open jasonBirchall opened 8 months ago

jasonBirchall commented 8 months ago

User Need

As a Developer, I want all of our repositories to be defined and managed through code using a language such as HCL, so that we can maintain their existence centrally, audit changes, and ensure consistency and security across our repositories.

Value

Defining repositories as code will enable us to manage repository settings, permissions, and configurations systematically. It will facilitate better auditing, versioning, and control, improving security and compliance.

Functional Requirements:

Non-Functional Requirements:

Acceptance Criteria:

Notes:

connormaglynn commented 8 months ago

Be cautious that anything internal or private cannot be managed via IaC publicly ref: @AntonyBishop

levgorbunov1 commented 8 months ago
levgorbunov1 commented 8 months ago

Cloud platform infra draft here: https://github.com/ministryofjustice/cloud-platform-environments/commit/1256acdacd27e39671fa9cce19bbd483c39ffe2d

levgorbunov1 commented 8 months ago

Will need to setup Dynamodb for tfstate lock at some point

levgorbunov1 commented 8 months ago

GHA secret > TF_VAR: https://www.pulumi.com/ai/answers/21d0651a-52d4-4398-9f4e-103d4f120eef

levgorbunov1 commented 8 months ago

Github repo TF module: https://github.com/mineiros-io/terraform-github-repository

levgorbunov1 commented 8 months ago

Data platform github terraform - https://github.com/ministryofjustice/data-platform/tree/main/terraform/github