rain forecast
Predict deployment failures
Synopsis
Outputs warnings about potential deployment failures due to constraints in the account or misconfigurations in the template related to dependencies in the account.
NOTE: This is an experimental feature!
To use this command, add –experimental or -x as an argument.
This command is not a linter! Use cfn-lint for that. The forecast command is concerned with things that could go wrong during deployment, after the template has been checked to make sure it has a valid syntax.
This command checks for some common issues across all resources:
- The resource already exists
- You do not have permissions to create/update/delete the resource
- (More to come.. service quotas, drift issues)
Resource-specific checks:
- S3 bucket is not empty
- S3 bucket policy has an invalid principal
- (Many more to come…)
rain forecast --experimental <template> [stackName]
Options
-a, --all Show all checks, not just failed ones
-c, --config string YAML or JSON file to set tags and parameters
--debug Output debugging information
-x, --experimental Acknowledge that this is an experimental feature
-h, --help help for forecast
--params strings set parameter values; use the format key1=value1,key2=value2
-p, --profile string AWS profile name; read from the AWS CLI configuration file
-r, --region string AWS region to use
--role-arn string An optional execution role arn to use for predicting IAM failures
--skip-iam Skip permissions checks, which can take a long time
--tags strings add tags to the stack; use the format key1=value1,key2=value2
--type string Optional resource type to limit checks to only that type
Options inherited from parent commands
--no-colour Disable colour output
SEE ALSO
- rain -