Mapping URLs/Configs
Last updated
Last updated
Gallery gives you visibility into your environments by proxying traffic to your environments load balancers/external facing URLs. To enable this behavior for terraform templates, you need to add the appropriate URL mappers.
Once you add a Terraform service in the templates page, you'll be presented with a modal that lets you customize the terraform service. Go to the URL mappers tab, and click add.
Gallery will proxy traffic from the environment subdomain to the URL specified in the terraform output you provide.
Sometimes, you'll need a reference to the infrastructure you created in the post infrastructure creation build step. You can create an environment mapper to enable this. Go to the environment mappings tab, click add, and select a terraform output. You'll be able to access that output in the post-build step in the environment variable that you provide.