Some checks failed
Continuous Integration - Pull Request / code-tests (pull_request) Has been cancelled
Continuous Integration - Pull Request / deployment-tests (local-code) (pull_request) Has been cancelled
helm-chart-ci / helm-chart-ci (pull_request) Has been cancelled
kubevious-manifests-ci / kubevious-manifests-ci (pull_request) Has been cancelled
kustomize-build-ci / kustomize-build-ci (pull_request) Has been cancelled
terraform-validate-ci / terraform-validate-ci (pull_request) Has been cancelled
Clean up deployment / cleanup-namespace (pull_request) Has been cancelled
Continuous Integration - Main/Release / code-tests (push) Has been cancelled
Continuous Integration - Main/Release / deployment-tests (local-code) (push) Has been cancelled
helm-chart-ci / helm-chart-ci (push) Has been cancelled
kubevious-manifests-ci / kubevious-manifests-ci (push) Has been cancelled
kustomize-build-ci / kustomize-build-ci (push) Has been cancelled
terraform-validate-ci / terraform-validate-ci (push) Has been cancelled
This folder contains the Terraform for some of the infrastructure used by the CICD (continuous integration and continuous delivery/continuous deployment) of this repository.
Update this Terraform
To make changes to this Terraform, follow these steps:
- Make sure you have access to the
online-boutique-ciGoogle Cloud project. - Move into this folder:
cd .github/terraform - Set the PROJECT_ID environment variable:
export PROJECT_ID=online-boutique-ci - Prepare Terraform and download the necessary Terraform dependencies (such as the "hashicorp/google" Terraform provider):
terraform init - Apply the Terraform:
terraform apply -var project_id=${PROJECT_ID}- Ideally, you would see
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.in the output.
- Ideally, you would see
- Make your desired changes to the Terraform code.
- Apply the Terraform:
terraform apply -var project_id=${PROJECT_ID}- This time, Terraform will prompt you confirm your changes before applying them.