Skip to content

Commit

Permalink
Add workspace argument in a single state migration in README
Browse files Browse the repository at this point in the history
  • Loading branch information
minamijoyo committed Dec 10, 2021
1 parent b59a646 commit 3cc5036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ The file must contain only one block, and multiple blocks are not allowed, becau
The `state` migration updates the state in a single directory. It has the following attributes.

- `dir` (optional): A working directory for executing terraform command. Default to `.` (current directory).
- `workspace` (optional): A terraform workspace. Defaults to "default".
- `actions` (required): Actions is a list of state action. An action is a plain text for state operation. Valid formats are the following.
- `"mv <source> <destination>"`
- `"rm <addresses>...`
Expand Down

0 comments on commit 3cc5036

Please sign in to comment.