Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Files

Latest commit

c8e2b98 · Sep 22, 2020

History

History

gce

GCE + SecretHub


View Docs


This example uses Terraform to launch an Google Compute instance, deploy the SecretHub Demo App on it and provision it with the secrets it needs using the SecretHub GCP Identity Provider.

Prerequisites

  1. Terraform installed along with the SecretHub Provider
  2. Correctly configured GCP Credentials
  3. Values assigned to the variables in variables.tf

Running the example

To launch a Compute instance (n1-standard-1) that runs the demo app, run:

terraform init
terraform apply

Once the instance is running its public IP will be outputted.

To see the app running, visit http://<COMPUTE-INSTANCE-IP>:8080.