aboutsummaryrefslogtreecommitdiff
path: root/app/views/backends/terraform_aws/show.html.erb
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-03-27 23:03:12 +0100
committerChristopher Baines <mail@cbaines.net>2018-04-03 21:57:39 +0100
commit91718a57666ab2a47c0202bf34ce34b9be167aaf (patch)
tree03a2cd6a24ebe71d5f214fc8db1536304b8e047f /app/views/backends/terraform_aws/show.html.erb
parent5316b1e9a3947d13f02cbc3063eb24454457b958 (diff)
downloadgovuk-mini-environment-admin-91718a57666ab2a47c0202bf34ce34b9be167aaf.tar
govuk-mini-environment-admin-91718a57666ab2a47c0202bf34ce34b9be167aaf.tar.gz
Make the AWS region readonly
As updating it won't migrate the existing mini environments.
Diffstat (limited to 'app/views/backends/terraform_aws/show.html.erb')
-rw-r--r--app/views/backends/terraform_aws/show.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/backends/terraform_aws/show.html.erb b/app/views/backends/terraform_aws/show.html.erb
index a9324fc..1a8c20c 100644
--- a/app/views/backends/terraform_aws/show.html.erb
+++ b/app/views/backends/terraform_aws/show.html.erb
@@ -31,7 +31,8 @@
<%= f.text_field(
:aws_region,
class: 'form-control',
- placeholder: 'What region to use'
+ placeholder: 'What region to use',
+ readonly: true,
) %>
</div>
</div>