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

Latest commit

 

History

History

ecs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

AWS ECS + SecretHub


View Docs


Deploying to AWS ECS using Terraform

This example creates an ECS cluster and deploys the SecretHub Demo App to it and provisions it with the required secrets using the SecretHub AWS Identity Provider.

Prerequisites

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

Running the example

Init the SecretHub demo repo with example values

secrethub demo init

To launch an example ECS cluster, run:

terraform init
terraform apply

Get the public IP of the cluster from the AWS console or using the AWS CLI and visit http://<PUBLIC-IP>:8080 to see the app running.