Skip to content

Commit 3c529d1

Browse files
committed
updating to new project
1 parent eef2af0 commit 3c529d1

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ resource "google_secret_manager_secret_version" "snyk_token_version" {
4343
module "gcp_python_fastapi_pipeline" {
4444
source = "./modules/pipelines"
4545

46-
project_id = var.project_id
46+
project_id = var.PROJECT_ID
4747
region = var.region
4848

4949
cloudbuild_trigger_name = "gcp-python-fastapi"

terraform/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ terraform {
99
}
1010

1111
provider "google" {
12-
project = var.project_id
12+
project = var.PROJECT_ID
1313
region = var.region
1414
}

terraform/variables.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
variable "project_id" {
2-
type = string
3-
description = "Project ID"
4-
default = "dsb-innovation-hub"
5-
}
6-
71
variable "region" {
82
type = string
93
description = "Region"
@@ -12,3 +6,4 @@ variable "region" {
126

137
# Terraform Environment Variables
148
variable "SNYK_TOKEN" {}
9+
variable "PROJECT_ID" {}

0 commit comments

Comments
 (0)