Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 46,545
    • Issues 46,545
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,502
    • Merge requests 1,502
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #273592
Closed
Open
Issue created Oct 29, 2020 by Maria Vrachni@mvrachni🤓Contributor3 of 3 checklist items completed3/3 checklist items

Introduce actions in the Terraform State listing for Project Maintainers

Release notes

https://docs.gitlab.com/ee/user/infrastructure/terraform_state.html#managing-state-files

If you use GitLab Managed Terraform states until now you had to use the API for various management tasks around state files, like releasing a state lock. Together with providing a listing of GitLab Managed State files, from now on you GitLab provides basic state management through its UI. You can lock or unlock a state file, download the state JSON or remove the state altogether. While we believe that these features make GitLab Managed State ready for serious production use cases, we plan to provide even more insight in future iterations. If you would like to collaborate, you can provide feedback in the related epic.

User experience goal

Allow the project maintainers perform basic actions on the Terraform State files from the state file listing without having to navigate to the State file details page.

Proposal

Make the most important actions available for each row. As we have many design patterns for row actions we need to review with the design team and decide the most appropriate pattern until there is a formal Pajamas guideline.

  • Add a download action
  • Add a lock action
  • Add a remove action

000_Terraform_State_listing_actions

001_Terraform_State_listing-_actions_expanded

002_Terraform_State_listing-actions-remove__1

003_Terraform_State_listing-actions-remove__2

004_Terraform_State_listing-actions-remove_locked__1___1

005_Terraform_State_listing-actions-remove_locked__2

Further details

  • The "Download" action should follow the download pattern in GitLab.
  • The actions are visible only to Project maintainers.

Permissions and Security

The list actions are visible and available only to Project maintainers.

Links / references

Figma file

Edited Jan 07, 2021 by Viktor Nagy (GitLab)
Assignee
Assign to
Time tracking