A serverless plugin to define AWS CloudFormation templates with cloudform
$ > yarn add serverless-cloudform
$ > npm install serverless-cloudform
plugins:
- serverless-cloudform
custom:
cloudform:
resources: 'path/to/resources' # include path/to/resources.ts
import cloudform, { S3, Fn } from 'cloudform'
export default {
// cloudform resource template here
S3: new S3.Bucket({
BucketName: Fn.Ref('bucket-name')
})
}