This plugin will let BitOps to automatically deploy cloudformation templates on AWS platform.
This plugin also manages create-stack or update-stack natively at the plugin level.
cloudformation plugin uses bitops.config.yaml located in the operations repo when deploying resources using aws cloudformation templates.
cloudformation:
cli:
validate-cfn: true
stack-action: deploy
options:
cfn-stack-name: bitops-v2-cfntest
capabilities: CAPABILITY_NAMED_IAM
cfn-files:
template-file: template.yaml
parameters:
template-param-flag: true
template-param-file: parameters.json
- BitOps Property:
validate-cfn - Environment Variable:
BITOPS_CFN_TEMPLATE_VALIDATION - default:
true
Calls aws cloudformation validate-template
- BitOps Property:
stack-action - Environment Variable:
BITOPS_CFN_STACK_ACTION - default:
deploy - required:
"true"
Controls what cloudformation action to apply on the stack. This config is a required parameter.
- BitOps Property:
skip-deploy - Environment Variable:
CFN_SKIP_DEPLOY - default:
"" - Description: If set to true, regardless of the stack-action, deployment actions will be skipped.
- BitOps Property:
cfn-stack-name - Environment Variable:
BITOPS_CFN_STACK_NAME - default:
"" - required:
"true"
Cloudformation stack name. This config is a required parameter.
- BitOps Property:
capabilities - Environment Variable:
BITOPS_CFN_CAPABILITY - default:
""
Allows you to use CloudFormation nested stacks. Both properties must be set in order to use nested stacks.
- BitOps Property:
s3bucket - Environment Variable:
BITOPS_CFN_TEMPLATE_S3_BUCKET - default:
""
- BitOps Property:
s3prefix - Environment Variable:
BITOPS_CFN_S3_PREFIX - default:
""
Cloudformation capabilities
- BitOps Property:
cfn-files
Allows for param files to be used. Has the following child-properties
- BitOps Property:
cfn-files.template-file - Environment Variable:
BITOPS_CFN_TEMPLATE_FILENAME - required:
"true"
Template file to apply the params against. This config is a required parameter.
- BitOps Property:
cfn-files.parameters
Additional parameters.
- BitOps Property:
cfn-files.parameters.template-param-flag - Environment Variable:
BITOPS_CFN_PARAMS_FLAG - default:
true
- BitOps Property:
cfn-files.parameters.template-param-file - Environment Variable:
BITOPS_CFN_TEMPLATE_PARAMS_FILENAME - default:
""
Although not captured in bitops.config.yml, the following environment variables can be set to further customize behaviour
Will skill all cloudformation executions. This superseeds all other configuration