Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(examples): Vertex Machine Learning Pipeline #66

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
ec29d99
refacto ml-vertexpipeline
renato-rudnicki Jun 12, 2024
2de509f
fix empty spaces
renato-rudnicki Jun 13, 2024
1d87258
sync with main
renato-rudnicki Jun 13, 2024
7900b96
fix conflict
renato-rudnicki Jun 13, 2024
40aae11
fix lint
renato-rudnicki Jun 13, 2024
e1250c2
Add aditional instructions before run Notebooks
renato-rudnicki Jun 14, 2024
fbee309
Add aditional instructions before run Notebooks
renato-rudnicki Jun 14, 2024
fdf2895
change data to use variable as input
renato-rudnicki Jun 14, 2024
9d7e411
add new variables values for data filters
renato-rudnicki Jun 20, 2024
e29bbca
fixes for envs and iam roles
renato-rudnicki Jun 20, 2024
8f7fb1c
add missing variables
renato-rudnicki Jun 20, 2024
f834958
Merge branch 'main' into vertex-pipeline-example
renato-rudnicki Jun 21, 2024
ce9d823
fix conflicts
renato-rudnicki Jun 25, 2024
45a199c
README update
renato-rudnicki Jun 27, 2024
76f4ea0
update with tests
caetano-colin Jun 27, 2024
ec52448
Merge pull request #2 from caetano-colin/test-renato-example
renato-rudnicki Jun 27, 2024
a78b5d7
update tests
caetano-colin Jun 28, 2024
0496599
kfp==2.7.0
caetano-colin Jun 28, 2024
010c5f1
add vertex_model_sa as prod_sa
caetano-colin Jun 28, 2024
f6bf1be
updating PR
caetano-colin Jul 1, 2024
e2c90db
add vpc-sc rules
caetano-colin Jul 1, 2024
980d59a
update
caetano-colin Jul 1, 2024
431c1b9
update readme
caetano-colin Jul 1, 2024
506bc5b
update vpc-sc rules
caetano-colin Jul 2, 2024
0259623
Merge pull request #3 from caetano-colin/test-renato
renato-rudnicki Jul 2, 2024
f614399
small fixes for lint and documentation
renato-rudnicki Jul 2, 2024
a91ec14
update README
renato-rudnicki Jul 2, 2024
5c953f7
update README
renato-rudnicki Jul 3, 2024
d31e7c0
Update README for Github App ID and more details about Develop, Non-P…
renato-rudnicki Jul 8, 2024
cceb460
Add missing logging project at vpc-sc directional rule
renato-rudnicki Jul 8, 2024
b68671a
Set github_app_installation_id and github_remote_uri value as empty
renato-rudnicki Jul 8, 2024
393756f
fix github_app_installation_id format
renato-rudnicki Jul 11, 2024
1a46078
fix for_each for artifact_registry_iam_member
renato-rudnicki Jul 11, 2024
c00478c
fix lint
renato-rudnicki Jul 11, 2024
3aefff2
add terraform init for 1-org
renato-rudnicki Jul 16, 2024
3ef8bc6
fix for_each for google_storage_bucket_iam_member
renato-rudnicki Jul 16, 2024
ba92368
Fixes for machine-learning-pipeline/README.md
renato-rudnicki Jul 17, 2024
7763ece
fix for Github_app_id
renato-rudnicki Jul 18, 2024
1a1f1a7
READMEs update
renato-rudnicki Jul 19, 2024
bb36619
Update README
renato-rudnicki Jul 19, 2024
3fd53b9
add changes
caetano-colin Jul 19, 2024
65c9c5a
Merge pull request #4 from caetano-colin/adjust-ml-pipe-example
renato-rudnicki Jul 19, 2024
6892500
bump project-factory version
renato-rudnicki Jul 19, 2024
be90d7b
add note about bash terminal
renato-rudnicki Jul 19, 2024
69b343f
bump project-factory version
renato-rudnicki Jul 19, 2024
13ebe00
Note about inconsistent final plan
renato-rudnicki Jul 19, 2024
736c521
fix project-factory bump version
renato-rudnicki Jul 22, 2024
67418a5
remove hardcode data
renato-rudnicki Jul 22, 2024
ec4d4f8
Fix and improvements for Machine Learning Example
renato-rudnicki Jul 26, 2024
d8aee2a
Automated replacement of placeholders
renato-rudnicki Jul 29, 2024
269508a
add discalimers
caetano-colin Aug 6, 2024
fe49961
rewriting
caetano-colin Aug 6, 2024
58fd65c
rewrite
caetano-colin Aug 6, 2024
0e229d6
Merge pull request #5 from caetano-colin/add-disclaimer
renato-rudnicki Aug 7, 2024
e3123b6
Path fix
renato-rudnicki Aug 13, 2024
8cb74df
Update for deploy with terraform local and cloudbuild sections
renato-rudnicki Aug 13, 2024
bdeff1c
Fix indentation.
renato-rudnicki Aug 13, 2024
f7f8d1e
update steps to add SA in the service perimeter
renato-rudnicki Aug 15, 2024
87a9753
perma-diff in provider causes Cloud Functions in 1-org to always fail
renato-rudnicki Aug 16, 2024
ea02006
fix command path
renato-rudnicki Aug 22, 2024
dbffa63
Revert "fix command path"
renato-rudnicki Aug 22, 2024
324536c
add step to unset billing/quota_project
renato-rudnicki Aug 22, 2024
ef146c0
fix path for BQ commands
renato-rudnicki Aug 22, 2024
03ab845
fix placeholders for census_pipeline.ipynb
renato-rudnicki Aug 22, 2024
79fb92b
fix path for terraform local deploy
renato-rudnicki Aug 27, 2024
2e27be8
update notebook dependencies
renato-rudnicki Aug 27, 2024
f6e1c47
update placeholders
renato-rudnicki Aug 28, 2024
b898d52
fix typo
renato-rudnicki Aug 28, 2024
f6c0684
fix placeholders for compile_pipeline
renato-rudnicki Aug 28, 2024
fc7e708
add detail about https in the clone repo step for Vertex
renato-rudnicki Aug 29, 2024
279cdec
fix conflicts
renato-rudnicki Sep 27, 2024
8297213
update docker image
renato-rudnicki Sep 27, 2024
b1d7d00
update juniper notebooks
renato-rudnicki Sep 27, 2024
ccd511e
fix conflict
renato-rudnicki Sep 30, 2024
cf4eeea
Update steps from machine-learning-pipeline example
renato-rudnicki Sep 30, 2024
da49015
add README
renato-rudnicki Oct 1, 2024
437704f
update README for machine learning example
renato-rudnicki Oct 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion 0-bootstrap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ To run the commands described in this document, install the following:
- [Terraform](https://www.terraform.io/downloads.html) version 1.5.7
- [jq](https://jqlang.github.io/jq/download/) version 1.6.0 or later

**Note:** Make sure that you use version 1.5.7 of Terraform throughout this series. Otherwise, you might experience Terraform state snapshot lock errors.
**Notes:**

- Make sure that you use version 1.5.7 of Terraform throughout this series. Otherwise, you might experience Terraform state snapshot lock errors.
- It is recommended to use Bash terminal de deploy the code from this repository. Using other terminals might cause unexpected behaviours.

Also make sure that you've done the following:

Expand Down
2 changes: 2 additions & 0 deletions 1-org/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ If required, run `terraform output cloudbuild_project_id` in the `0-bootstrap` f
```bash
git checkout -b production
git push origin production

cd ..
```

1. Proceed to the [2-environments](../2-environments/README.md) step.
Expand Down
3 changes: 2 additions & 1 deletion 1-org/envs/shared/ml_key_rings.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ module "kms_keyring" {
keyring_admins = [
"serviceAccount:${local.projects_step_terraform_service_account_email}"
]
project_id = module.common_kms.project_id

project_id = module.org_kms.project_id
keyring_regions = var.keyring_regions
keyring_name = var.keyring_name
}
18 changes: 9 additions & 9 deletions 1-org/envs/shared/projects.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ locals {

module "org_audit_logs" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down Expand Up @@ -66,7 +66,7 @@ module "org_audit_logs" {

module "org_billing_logs" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down Expand Up @@ -98,7 +98,7 @@ module "org_billing_logs" {

module "org_kms" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down Expand Up @@ -131,7 +131,7 @@ module "org_kms" {

module "org_secrets" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down Expand Up @@ -163,7 +163,7 @@ module "org_secrets" {

module "interconnect" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down Expand Up @@ -195,7 +195,7 @@ module "interconnect" {

module "scc_notifications" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down Expand Up @@ -227,7 +227,7 @@ module "scc_notifications" {

module "dns_hub" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down Expand Up @@ -267,7 +267,7 @@ module "dns_hub" {

module "base_network_hub" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"
count = var.enable_hub_and_spoke ? 1 : 0

random_project_id = true
Expand Down Expand Up @@ -316,7 +316,7 @@ resource "google_project_iam_member" "network_sa_base" {

module "restricted_network_hub" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"
count = var.enable_hub_and_spoke ? 1 : 0

random_project_id = true
Expand Down
6 changes: 3 additions & 3 deletions 1-org/modules/cai-monitoring/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ data "archive_file" "function_source_zip" {

module "cloudfunction_source_bucket" {
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
version = "~>3.4"
version = "~>5.0"

project_id = var.project_id
name = "bkt-cai-monitoring-${random_id.suffix.hex}-sources-${data.google_project.project.number}-${var.location}"
Expand Down Expand Up @@ -121,7 +121,7 @@ resource "google_cloud_asset_organization_feed" "organization_feed" {

module "pubsub_cai_feed" {
source = "terraform-google-modules/pubsub/google"
version = "~> 5.0"
version = "~> 6.0"

topic = "top-cai-monitoring-${random_id.suffix.hex}-event"
project_id = var.project_id
Expand All @@ -142,7 +142,7 @@ resource "google_scc_source" "cai_monitoring" {
// Cloud Function
module "cloud_function" {
source = "GoogleCloudPlatform/cloud-functions/google"
version = "0.4.1"
version = "0.5"

function_name = "caiMonitoring"
description = "Check on the Organization for members (users, groups and service accounts) that contains the IAM roles listed."
Expand Down
4 changes: 2 additions & 2 deletions 1-org/modules/cai-monitoring/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = ">= 3.77"
version = ">= 3.77, <=5.37"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 3.77"
version = ">= 3.77, <=5.37"
}
random = {
source = "hashicorp/random"
Expand Down
4 changes: 2 additions & 2 deletions 1-org/modules/network/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

module "base_shared_vpc_host_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down Expand Up @@ -56,7 +56,7 @@ module "base_shared_vpc_host_project" {

module "restricted_shared_vpc_host_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down
12 changes: 5 additions & 7 deletions 2-environments/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Run `terraform output cloudbuild_project_id` in the `0-bootstrap` folder to get
git push origin production
```

### Read this before continuing further
### `N.B.` Read this before continuing further

A logging project will be created in every environment (`development`, `non-production`, `production`) when running this code. This project contains a storage bucket for the purposes of project logging within its respective environment. This requires the `[email protected]` group permissions for the storage bucket. Since foundations has more restricted security measures, a domain restriction constraint is enforced. This restraint will prevent the google cloud-storage-analytics group to be added to any permissions. In order for this terraform code to execute without error, manual intervention must be made to ensure everything applies without issue.

Expand All @@ -196,7 +196,7 @@ You will be doing this procedure for each environment (`development`, `non-produ
Make sure your git is checked out to the development branch by running `git checkout development` on `GCP_ENVIRONMENTS_PATH`.

```bash
(cd $GCP_ENVIRONMENTS_PATH && git checkout development)
(cd $GCP_ENVIRONMENTS_PATH && git checkout development && ./tf-wrapper.sh init development)
```

2. Retrieve the bucket name and project id from terraform outputs.
Expand Down Expand Up @@ -244,7 +244,7 @@ You will be doing this procedure for each environment (`development`, `non-produ
Make sure your git is checked out to the `non-production` branch by running `git checkout non-production` on `GCP_ENVIRONMENTS_PATH`.

```bash
(cd $GCP_ENVIRONMENTS_PATH && git checkout non-production)
(cd $GCP_ENVIRONMENTS_PATH && git checkout non-production && ./tf-wrapper.sh init non-production)
```

2. Retrieve the bucket name and project id from terraform outputs.
Expand Down Expand Up @@ -292,7 +292,7 @@ You will be doing this procedure for each environment (`development`, `non-produ
Make sure your git is checked out to the `production` branch by running `git checkout production` on `GCP_ENVIRONMENTS_PATH`.

```bash
(cd $GCP_ENVIRONMENTS_PATH && git checkout production)
(cd $GCP_ENVIRONMENTS_PATH && git checkout production && ./tf-wrapper.sh init production)
```

2. Retrieve the bucket name and project id from terraform outputs.
Expand Down Expand Up @@ -405,7 +405,6 @@ To use the `validate` option of the `tf-wrapper.sh` script, please follow the [i
export GOOGLE_IMPERSONATE_SERVICE_ACCOUNT=$(terraform -chdir="../0-bootstrap/" output -raw environment_step_terraform_service_account_email)
echo ${GOOGLE_IMPERSONATE_SERVICE_ACCOUNT}
```

1. Ensure you [disable The Organization Policy](#read-this-before-continuing-further) on the `development` folder before continuing further.

1. Run `init` and `plan` and review output for environment development.
Expand Down Expand Up @@ -447,7 +446,6 @@ To use the `validate` option of the `tf-wrapper.sh` script, please follow the [i
```bash
./tf-wrapper.sh apply non-production
```

1. Ensure you [disable The Organization Policy](#read-this-before-continuing-further) on the `non-production` folder before continuing further.

1. Run `init` and `plan` and review output for environment production.
Expand Down Expand Up @@ -477,6 +475,6 @@ Before executing the next stages, unset the `GOOGLE_IMPERSONATE_SERVICE_ACCOUNT`
unset GOOGLE_IMPERSONATE_SERVICE_ACCOUNT

cd ../..
```
```

1. You can now move to the instructions in the network step. To use the [Dual Shared VPC](https://cloud.google.com/architecture/security-foundations/networking#vpcsharedvpc-id7-1-shared-vpc-) network mode go to [3-networks-dual-svpc](../3-networks-dual-svpc/README.md).
2 changes: 1 addition & 1 deletion 2-environments/modules/env_baseline/kms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

module "env_kms" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down
2 changes: 1 addition & 1 deletion 2-environments/modules/env_baseline/ml_logging.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data "google_storage_project_service_account" "gcs_logging_account" {

module "env_logs" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down
2 changes: 1 addition & 1 deletion 2-environments/modules/env_baseline/monitoring.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

module "monitoring_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down
2 changes: 1 addition & 1 deletion 2-environments/modules/env_baseline/secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

module "env_secrets" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down
2 changes: 2 additions & 0 deletions 3-networks-dual-svpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ Before executing the next stages, unset the `GOOGLE_IMPERSONATE_SERVICE_ACCOUNT`

```bash
unset GOOGLE_IMPERSONATE_SERVICE_ACCOUNT

cd ../..
```

1. You can now move to the instructions in the [4-projects](../4-projects/README.md) step.
5 changes: 3 additions & 2 deletions 5-app-infra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ The Pipeline is connected to a Google Cloud Source Repository with a simple stru
└── tf2-gpu.2-13:0.1
└── Dockerfile
```
for the purposes of this example, the pipeline is configured to monitor the `main` branch of this repository.
For the purposes of this example, the pipeline is configured to monitor the `main` branch of this repository.

each folder under `images` has the full name and tag of the image that must be built. Once a change to the `main` branch is pushed, the pipeline will analyse which files have changed and build that image out and place it in the artifact repository. For example, if there is a change to the Dockerfile in the `tf2-cpu-13:0.1` folder, or if the folder itself has been renamed, it will build out an image and tag it based on the folder name that the Dockerfile has been housed in.
Each folder under `images` has the full name and tag of the image that must be built. Once a change to the `main` branch is pushed, the pipeline will analyse which files have changed and build that image out and place it in the artifact repository. For example, if there is a change to the Dockerfile in the `tf2-cpu-13:0.1` folder, or if the folder itself has been renamed, it will build out an image and tag it based on the folder name that the Dockerfile has been housed in.

Once pushed, the pipeline build logs can be accessed by navigating to the artifacts project name created in step-4:

Expand Down Expand Up @@ -363,6 +363,7 @@ The pipeline also listens for changes made to `plan`, `development`, `non-produc
1. Update the `log_bucket` variable with the value of the `logs_export_storage_bucket_name`.

```bash
terraform -chdir="../gcp-org/envs/shared" init
export log_bucket=$(terraform -chdir="../gcp-org/envs/shared" output -raw logs_export_storage_bucket_name)
echo "log_bucket = ${log_bucket}"
sed -i "s/REPLACE_LOG_BUCKET/${log_bucket}/" ./common.auto.tfvars
Expand Down
1 change: 0 additions & 1 deletion 5-app-infra/modules/service_catalog/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ resource "google_storage_bucket_iam_member" "bucket_role" {
role = "roles/storage.admin"
member = google_service_account.trigger_sa.member
}

resource "google_sourcerepo_repository_iam_member" "read" {
project = var.project_id
repository = var.name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ remote_state_bucket = "REMOTE_STATE_BUCKET"

log_bucket = "REPLACE_LOG_BUCKET"

# github_ api_ token = "PUT IN TOKEN"
# github_ api_ token = "GITHUB_APP_TOKEN"

# github_app_installation_id = "18685983"
# github_app_installation_id = "GITHUB_APP_ID"

# github_remote_uri = "https://github.com/badal-io/ml-foundations-tf-modules.git"
# github_remote_uri = "GITHUB_REMOTE_URI"

Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM tensorflow/tensorflow:2.8.0
RUN pip install tensorflow-io==0.25.0 protobuf==3.20.0 google-cloud-bigquery==3.13.0 pandas==2.0.3 db-dtypes==1.2.0 google-cloud-aiplatform==1.36.0 google-cloud-storage==2.14.0 kfp google-cloud-pipeline-components
FROM python:3.10

RUN python3 -m pip install --no-cache-dir tensorflow-cpu==2.8.0
RUN pip install tensorflow-io==0.25.0 protobuf==3.20.3 google-cloud-bigquery==3.13.0 pandas==2.0.3 db-dtypes==1.2.0 google-cloud-aiplatform==1.36.0 google-cloud-storage==2.14.0 kfp google-cloud-pipeline-components numpy==1.26.4
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The following table outlines which of the suggested controls for Vertex Generati
|------|-------------|------|---------|:--------:|
| airflow\_config\_overrides | Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags\_are\_paused\_at\_creation". | `map(string)` | `{}` | no |
| env\_variables | Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression [a-zA-Z\_][a-zA-Z0-9\_]*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW\_\_[A-Z0-9\_]+\_\_[A-Z0-9\_]+), and they cannot match any of the following reserved names: [AIRFLOW\_HOME,C\_FORCE\_ROOT,CONTAINER\_NAME,DAGS\_FOLDER,GCP\_PROJECT,GCS\_BUCKET,GKE\_CLUSTER\_NAME,SQL\_DATABASE,SQL\_INSTANCE,SQL\_PASSWORD,SQL\_PROJECT,SQL\_REGION,SQL\_USER]. | `map(any)` | `{}` | no |
| github\_app\_installation\_id | The app installation ID that was created when installing Google Cloud Build in GitHub: https://github.com/apps/google-cloud-build. | `number` | n/a | yes |
| github\_app\_installation\_id | The app installation ID that was created when installing Google Cloud Build in GitHub: https://github.com/apps/google-cloud-build. | `number` | `null` | no |
| github\_name\_prefix | A name for your GitHub connection to Cloud Build. | `string` | `"github-modules"` | no |
| github\_remote\_uri | URL of your GitHub repo. | `string` | n/a | yes |
| github\_secret\_name | Name of the GitHub secret to extract GitHub token info. | `string` | `"github-api-token"` | no |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ variable "github_name_prefix" {
variable "github_app_installation_id" {
type = number
description = "The app installation ID that was created when installing Google Cloud Build in GitHub: https://github.com/apps/google-cloud-build."
default = null
}

variable "service_account_prefix" {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/terraform/2-environments/ml_logging.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data "google_storage_project_service_account" "gcs_logging_account" {

module "env_logs" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 15.0"

random_project_id = true
random_project_id_length = 4
Expand Down
Loading