Infrastructure as Code (IaC) Template
🚀 Provision Component
Want to deploy a component using this template?
Click here to Provision via GitHub Actions — select Run workflow and specify template_path: misc/iac.
The iac template provisions a dedicated Infrastructure as Code (IaC) component and associated GitHub repository, pre-configured with Google Cloud projects, APIs, and Workload Identity Federation (WIF) credentials.
Resources Provisioned​
-
GitHub IaC Repository:
- Repository named
uk-dvt-gcloud-<component_name>-iac. - Bootstrapped from the template factory repository
uk-dvt-gcloud-git-template-factory-iac. - Pre-wired with GCS remote state storage and WIF authentication.
- Repository named
-
GCP Project(s):
- Dedicated
iacproject per environment (development,staging,production). - Essential Google Cloud services pre-enabled (Compute, Storage, Cloud Run, Secret Manager, Vertex AI).
- IAM permissions granting the CI/CD pipeline access to manage project infrastructure.
- Dedicated
Provisioning Instructions​
- Copy the desired template folder to
components/<component_type>/<component_name>/. - Configure
config_component.tfvarswith the component name, code, team access and other required inputs. - Submit a pull request to
uk-dvt-gcloud-core-projectsfor automated plan and apply.