Skip to content

Commit

Permalink
UPDATE
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzasaverio committed Feb 6, 2024
1 parent da8b06b commit 425305e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The `Dockerfile` is configured to use the NVIDIA CUDA base image with FastAPI de

### FastAPI Application

The `main.py` script is the entry point for the FastAPI application. It includes basic routes and can be extended for additional functionality
The `main.py` script is the entry point for the FastAPI application. It includes basic routes and can be extended for additional functionalit

## Usage

Expand Down
24 changes: 14 additions & 10 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,7 @@ module "secret_manager" {



module "cloud_run" {
source = "./modules/cloud_run"

gcp_project_id = var.gcp_project_id
gcp_region = var.gcp_region
network_id = var.gcp_network_name
depends_on = [
module.secret_manager
]
}


module "cloud_build" {
Expand All @@ -91,8 +82,21 @@ module "cloud_build" {
github_remote_uri = var.github_remote_uri

depends_on = [
module.cloud_run,

module.secret_manager
]
}


module "cloud_run" {
source = "./modules/cloud_run"

gcp_project_id = var.gcp_project_id
gcp_region = var.gcp_region
network_id = var.gcp_network_name
depends_on = [
module.secret_manager,
module.cloud_build

]
}

0 comments on commit 425305e

Please sign in to comment.