You need to sign in or sign up before continuing.
Change Warning Banner on Terraform State Page to Info Banner
Background
In Add alert to warn users about using a period in... (!152686 - merged), we introduced an alert on the Terraform state page to let users know what might happen if there is a period in the state name. This alert currently shows to all users, even those not using periods. The use of the warning alert could be misleading, causing users to think something might be wrong.
Related discussion: https://gitlab.slack.com/archives/C04SS157XSQ/p1716576846038399
Solution
Swap the Warning Alert (Yellow) for an Info Alert (Blue):
Before | After |
---|---|
![]() |
![]() |
Implementation guide
Update the alert in app/views/projects/terraform/_period_in_terraform_state_name_alert.html.haml
to use 'info' type instead of the 'warning'.
Edited by Anna Vovchenko