Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.61 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.61 KB

Kogito Serverless Workflow GCP example

This example demonstrates how Kogito Serverless Workflow can be used to manage resources in GCP cloud. More specifically, this project contains a series of workflows that manage Service Account and Compute Instance.

Requirements

Running the example

Generate a new token to interact with GCP REST API

gcloud auth application-default print-access-token

Before executing the example, make sure you enable Compute Instance API in your GCP project.

Add token values to application.properties, as well as the GCP project ID, Zone and Region where you would like the resources to be created.

Execute the example tests using

mvn clean install

Follow the log and check your GCP project, where a new service account named kogito-sw-gcp and compute instance named kogito-sw-gcp will be created and deleted.

Resources