Skip to content

Commit

Permalink
Terraform cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
m110 committed May 19, 2020
1 parent a0a4125 commit 3fb1c66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 4 additions & 3 deletions terraform/firebase.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ resource "google_service_account_key" "firebase_key" {

resource "google_firebase_project" "default" {
provider = google-beta
project = google_project.project.project_id

depends_on = [
google_project_service.firebase,
Expand All @@ -34,14 +33,16 @@ resource "google_firebase_project" "default" {

resource "google_firebase_project_location" "default" {
provider = google-beta
project = google_firebase_project.default.project

location_id = var.firebase_location

depends_on = [
google_firebase_project.default,
]
}

resource "google_firebase_web_app" "wild_workouts" {
provider = google-beta
project = google_project.project.project_id
display_name = "Wild Workouts"

depends_on = [google_firebase_project.default]
Expand Down
4 changes: 1 addition & 3 deletions terraform/firestore.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ resource "null_resource" "enable_firestore" {
command = "make firestore"
}

depends_on = [
google_firebase_project_location.default,
]
depends_on = [google_firebase_project_location.default]
}

resource "google_firestore_index" "trainings_user_time" {
Expand Down

0 comments on commit 3fb1c66

Please sign in to comment.