You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by pa...@apache.org on 2022/08/23 16:32:43 UTC
[beam] branch master updated: [Playground] Setup Datastore in Playground project using Terraform - change main.tf file (#22506)
This is an automated email from the ASF dual-hosted git repository.
pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new c7f64264451 [Playground] Setup Datastore in Playground project using Terraform - change main.tf file (#22506)
c7f64264451 is described below
commit c7f64264451af12ff6c7c0ef4bc95fd7ce0f5418
Author: MakarkinSAkvelon <67...@users.noreply.github.com>
AuthorDate: Tue Aug 23 09:32:33 2022 -0700
[Playground] Setup Datastore in Playground project using Terraform - change main.tf file (#22506)
* Update main.tf
* Update main.tf
---
playground/terraform/applications/default/main.tf | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/playground/terraform/applications/default/main.tf b/playground/terraform/applications/default/main.tf
index b785e1e6a07..ed9bf7edaf9 100644
--- a/playground/terraform/applications/default/main.tf
+++ b/playground/terraform/applications/default/main.tf
@@ -20,6 +20,16 @@
resource "google_app_engine_application" "app_playground" {
project = var.project_id
location_id = var.location
+ database_type = "CLOUD_DATASTORE_COMPATIBILITY"
+}
+
+resource "google_project_service" "firestore" {
+ project = var.project_id
+ service = "firestore.googleapis.com"
+ disable_dependent_services = true
+ depends_on = [
+ google_app_engine_application.app_playground
+ ]
}
resource "google_app_engine_flexible_app_version" "default_app" {