Skip to content

Commit

Permalink
Some minor TF updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslan-ikhsan committed Apr 28, 2023
1 parent 6d91188 commit d4c09c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions learning/tour-of-beam/terraform/cloud_functions/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ resource "google_cloudfunctions_function" "cloud_function" {
}

# Create IAM entry so all users can invoke the cloud functions

# Endpoints serve content only
# Has additional firebase authentication called "Bearer token" for endpoints that update or delete user progress
resource "google_cloudfunctions_function_iam_member" "invoker" {
Expand Down
2 changes: 2 additions & 0 deletions learning/tour-of-beam/terraform/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# under the License.
#

# Terraform state to be saved in GCS bucket
terraform {
backend "gcs" {
}
Expand All @@ -29,6 +30,7 @@ terraform {
}
}

# GCP Provider resource
provider "google" {
project = var.project_id
region = var.region
Expand Down

0 comments on commit d4c09c2

Please sign in to comment.