Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
add module subcommand description
  • Loading branch information
gainings committed May 4, 2024
1 parent 9731616 commit 417290b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ https://github.com/gainings/tfirmg/releases
tfirmg root --src-dir ./current_state --dst-dir ./new_state --src-tfstate-path file://my-tfstate/tfstate
## s3
tfirmg geenrate --src-dir ./current_state --dst-dir ./new_state --src-tfstate-path s3://my-example-bucket/tfstate
tfirmg root --src-dir ./current_state --dst-dir ./new_state --src-tfstate-path s3://my-example-bucket/tfstate
# moving resources within a module to same tfstate.
tfirmg module --src-module module_a --dst-module module_b --src-dir ./ --dst-dir ./ --src-tfstate-path file://$(PWD)/terraform.tfstate
# moving resources within a module to another tfstate.
tfirmg module --src-module module_a --dst-module module_b --src-dir ./ --dst-dir ./other --src-tfstate-path file://$(PWD)/terraform.tfstate
```

## Introduction
Expand Down Expand Up @@ -314,4 +320,4 @@ import {
id = "igw-123456789abcdef"
}
...
```
```

0 comments on commit 417290b

Please sign in to comment.