Skip to content

Commit

Permalink
Ensure gcp permissions are in place before creating cloud function
Browse files Browse the repository at this point in the history
  • Loading branch information
BSick7 committed Mar 20, 2024
1 parent 285877f commit 9cc69ee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gcp/tf/function.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
resource "google_cloudfunctions2_function" "function" {
depends_on = [
google_project_service.run,
google_project_service.cloudbuild,
google_project_service.function,
google_project_service.artifact_registry,
]

name = var.name
location = local.region
description = "${var.name} Postgresql DB Admin"
Expand Down

0 comments on commit 9cc69ee

Please sign in to comment.