Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rogerwelin/cfnctl
Cfnctl brings the Terraform cli experience to AWS Cloudformation :cloud:
https://github.com/rogerwelin/cfnctl
aws cli cloud cloud-management cloudformation go golang iac infrastructure-as-code terraform
Last synced: 7 days ago
JSON representation
Cfnctl brings the Terraform cli experience to AWS Cloudformation :cloud:
- Host: GitHub
- URL: https://github.com/rogerwelin/cfnctl
- Owner: rogerwelin
- License: apache-2.0
- Created: 2021-09-07T07:38:36.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-19T08:35:05.000Z (10 months ago)
- Last Synced: 2024-08-02T00:26:33.540Z (3 months ago)
- Topics: aws, cli, cloud, cloud-management, cloudformation, go, golang, iac, infrastructure-as-code, terraform
- Language: Go
- Homepage:
- Size: 136 KB
- Stars: 130
- Watchers: 5
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-tf - cfnctl - Cfnctl brings the Terraform cli experience to AWS Cloudformation. (Tools / Community providers)
README
## ☁️ Cfnctl
[[ _pronounced_ cfn control _or_ cloudformation control ]]
Are you a fan of Terraform but forced to use Cloudformation due to organizational or technical reasons? Introducing **cfnctl**, a CLI that brings the Terraform cli experience to Cloudformation. You'll never need to use the AWS Console for managing stacks again!
With *cfnctl*, you write Cloudformation templates as usual but use the cli workflow that you are already used to from Terraform, including:
* **apply**
* **plan**
* **destroy**
* **output**### Demo
[![Cfnctl](./cfnctl.svg)](https://asciinema.org/a/abFfMrlLp3MTDHjrrzWpbyDDI?autoplay=1)
### Installation
Grab a pre-built binary from the [GitHub Releases page](https://github.com/rogerwelin/cfnctl/releases) for your OS of choice
### Usage
If you are a terraform user the *cfnctl* cli works as you would expect. Running the binary without flags will give you the help output:
```bash
✗ ./cfnctl
NAME:
cfnctl - ✨ Terraform cli experience for AWS CloudformationCOMMANDS:
apply Create or update infrastructure
plan Show changes required by the current configuration
destroy Destroy previously-created infrastructure
output Show all exported output values of the selected account and region
validate Check whether the configuration is valid
version Show the current Cfnctl version
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--help, -h show help (default: false)Examples
Apply infrastructure using the "apply" command.
$ cfnctl apply --template-file mycfntmpl.yaml --auto-approve
```### Notice
Cfnctl is under early development and is missing several features such as:
* user cancellation does not clean up stacks, [Issue](https://github.com/rogerwelin/cfnctl/issues/1)
* does not support uploading large templates to S3 yet, [Issue](https://github.com/rogerwelin/cfnctl/issues/2)
* does not support drift detection yet, [Issue](https://github.com/rogerwelin/cfnctl/issues/5)Feature request and pull requests are welcome. Please see the [Contributing doc](https://github.com/rogerwelin/cfnctl/blob/master/CONTRIBUTING.md)
If you read this far consider hitting the star ⭐