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

Latest commit

 

History

History

gce

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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.