-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from nao1215/doc/cfn
Add specification document for cfn command
- Loading branch information
Showing
3 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## cfn - list up or delete CloudFormation stacks | ||
> [!IMPORTANT] | ||
> Not implemented yet. This is specifiction document. | ||
The cfn command provides the following features: | ||
- [ ] List stacks | ||
- [ ] Delete stacks | ||
- [ ] Add tags to stacks | ||
- [ ] Interactive mode | ||
|
||
### How to install | ||
```shell | ||
go install github.com/nao1215/rainbow/cmd/cfn@latest | ||
``` | ||
|
||
### How to use | ||
The cfn command allows you to specify a profile as an option, but it is more user-friendly to use the `AWS_PROFILE` environment variable. | ||
|
||
### List stacks | ||
```shell | ||
cfn ls | ||
``` | ||
|
||
### Delete stacks | ||
```shell | ||
cfn rm ${STACK_NAME} | ||
``` | ||
|
||
### Add tags to stacks | ||
```shell | ||
cfn tag ${STACK_NAME} ${TAG_KEY}=${TAG_VALUE} | ||
``` | ||
|
||
### Interactive mode | ||
```shell | ||
cfn | ||
``` | ||
|