aboutsummaryrefslogtreecommitdiff
path: root/app/views/backends/terraform_aws/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/backends/terraform_aws/new.html.erb')
-rw-r--r--app/views/backends/terraform_aws/new.html.erb24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/views/backends/terraform_aws/new.html.erb b/app/views/backends/terraform_aws/new.html.erb
index 0d33fcf..a6f2f6a 100644
--- a/app/views/backends/terraform_aws/new.html.erb
+++ b/app/views/backends/terraform_aws/new.html.erb
@@ -23,6 +23,30 @@
</div>
<div class="form-group form-group-lg">
+ <%= f.label :domain, class: 'col-sm-4 control-label' %>
+ <div class="col-sm-8">
+ <%= f.text_field(
+ :domain,
+ class: 'form-control',
+ placeholder: 'Domain within which to host mini environments'
+ ) %>
+ <span class="help-block">
+ <p>
+ For example, if you entered <samp>example.com</samp> for
+ the backend domain, and then created a mini environment
+ called "Test" using this backend, then the application
+ domain for the mini environment would be
+ <samp>test.example.com</samp>.
+ </p>
+ <p>
+ A Route53 Hosted Zone will be created for this domain,
+ and records added for the mini environments.
+ </p>
+ </span>
+ </div>
+ </div>
+
+ <div class="form-group form-group-lg">
<%= f.label :aws_region, 'AWS Region', class: 'col-sm-4 control-label' %>
<div class="col-sm-8">
<%= f.text_field(