This example uses Terraform to launch an EC2 instance, deploy the SecretHub Demo App on it and provision it with the required secrets using the SecretHub AWS Identity Provider.
- Terraform installed along with the SecretHub Provider
- Correctly configured AWS Credentials
- Values assigned to the variables in variables.tf
To launch an example EC2 instance (t2.nano
), 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://<EC2-INSTANCE-IP>:8080
.
Note that it might take a couple minutes for the instance to be accessible from the browser.