CLI tool for AWS CloudFormation template/stack management
Top 40.8% on sourcepulse
Rain is a command-line tool designed to streamline the development workflow for AWS CloudFormation users. It offers features for interactive deployments, template formatting, log aggregation, and template generation, aiming to improve efficiency and reduce errors in infrastructure management.
How It Works
Rain leverages Go and the AWS SDK for Go v2 to interact with AWS CloudFormation. Its core approach involves providing a unified interface for common CloudFormation tasks. Key features like interactive deployments (rain deploy
) offer real-time feedback and parameter prompting. The rain build
command utilizes generative AI (via AWS Bedrock) to create template skeletons or policy validation files, enhancing developer productivity. Experimental features like rain forecast
aim to predict deployment failures by analyzing templates and target accounts.
Quick Start & Requirements
brew install rain
(macOS), download binaries from releases, or go install github.com/aws-cloudformation/rain/cmd/rain@latest
.Highlighted Details
!Rain::Embed
, !Rain::Include
, !Rain::Env
, !Rain::S3Http
, and !Rain::S3
for advanced template packaging and artifact management.rain pkg
, rain module
) enables client-side template composition and integration with AWS CodeArtifact for publishing/installing modules.rain build --prompt
and rain build --recommend
leverage generative AI for creating CloudFormation templates and policy validation files (OPA Rego, CloudFormation Guard).rain log --chart
generates Gantt charts of stack operation durations.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
forecast
, modules
, content deployment
), indicating potential for changes or instability.1 week ago
1 week