suzuki-shunsuke / tfaction

Framework for Monorepo to build high level Terraform Workflows by GitHub Actions
https://suzuki-shunsuke.github.io/tfaction/docs/
MIT License
278 stars 40 forks source link

Introduce Manual Lock Mecanism #1891

Open suzuki-shunsuke opened 1 month ago

suzuki-shunsuke commented 1 month ago

Feature Overview

Introduce Manual Lock Mecanism.

Why is the feature needed?

Sometimes we want to prevent accessing Terraform State and some terraform commands such as plan, apply and import. For example,

  1. You want to prevent any changes during an event
  2. You want prevent any changes during splitting Terraform State

Example Code

No response

Note

No response

suzuki-shunsuke commented 1 month ago
suzuki-shunsuke commented 1 month ago

Operation

How to lock

suzuki-shunsuke commented 1 month ago

Action when the directory is locked

suzuki-shunsuke commented 1 month ago
suzuki-shunsuke commented 1 month ago

I've developed a GitHub Action for lock mechanism.