You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/03/05 05:40:36 UTC

[GitHub] [beam] ilya-kozyrev commented on a change in pull request #16822: [BEAM-13841][Playground] Add Application and Infrastructure main modules to Terraform builder

ilya-kozyrev commented on a change in pull request #16822:
URL: https://github.com/apache/beam/pull/16822#discussion_r820048731



##########
File path: playground/terraform/README.md
##########
@@ -28,14 +28,31 @@ The following items need to be setup for the Playground cluster deployment on GC
 
 # Deployment steps
 
+## 0. Create GCS bucket for state
+
+```bash
+$ gsutil mb -p ${PROJECT_ID} gs://state-bucket-name
+$ gsutil versioning set on gs://state-bucket-name
+```
+
 ## 1. Provision infrastructure
 
 To deploy Playground infrastructure follow [README.md](./infrastructure/README.md) for infrastructure module.
 
-## 2. Build containers
+```bash
+./gradlew playground:terraform:InitInfrastructure -Pproject_environment="env-name"
+```
+
+## 2. Deploy application
 
-TBD
+```bash
+gcloud auth configure-docker us-central1-docker.pkg.dev
+  ```
 
-## 3. Deploy application
+```bash
+./gradlew playground:terraform:deployBackend  -Pproject_environment="env-name"

Review comment:
       I've updated readme




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org