Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 882 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 882 Bytes

Overview

Basic example for the ui-access module. Per default the module will be deployed in us-east-1 (virginia).

Deploy the infrastructure

# terraform init &&\
# terraform plan -out ui.plan -var deploy_profile=<your-profile> &&\
# terraform apply "ui.plan"

# on playground
terraform init &&\
terraform plan -out ui.plan -var deploy_profile=playground &&\
terraform apply "ui.plan"

Test

This example has one curl example output for each of the ALB's to access the ui. To test you just have to call it.

I.e. the output for nomad ui was curl_nomad_ui = curl http://alb-nomad-ui-example-1440612083.us-east-1.elb.amazonaws.com/ui/jobs, then the call should return <h1>Nomad UI</h1>.

Destroy the infrastructure

# terraform destroy -var deploy_profile=<your-profile>

# on playground
terraform destroy -var deploy_profile=playground