aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-23 21:13:26 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-23 21:16:39 +0100
commitdd4bad071db5e7c8423df07afb375d84a0abb8f6 (patch)
tree918fbb7cc46e4b78db72d3b251c995d3f4bb6c78 /app/views
parente78d219f520afd8eb38b28178bbf5148f803fd19 (diff)
downloadgovuk-mini-environment-admin-dd4bad071db5e7c8423df07afb375d84a0abb8f6.tar
govuk-mini-environment-admin-dd4bad071db5e7c8423df07afb375d84a0abb8f6.tar.gz
Add a history view for terraform states
And link to this from the mini environment page.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/backends/terraform_aws/show.html.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/backends/terraform_aws/show.html.erb b/app/views/backends/terraform_aws/show.html.erb
index f468567..98034f5 100644
--- a/app/views/backends/terraform_aws/show.html.erb
+++ b/app/views/backends/terraform_aws/show.html.erb
@@ -87,6 +87,13 @@ License along with the GOV.UK Mini Environment Admin. If not, see
Backend down
</div>
<% end %>
+
+ <br>
+ <a href="<%= terraform_http_backend_show_history_path(
+ @backend.terraform_state_id
+ ) %>">
+ View detailed Terraform state information
+ </a>
</div>
</div>