@bowtie/sls
Version:
Serverless helpers & utilities
61 lines (60 loc) • 1.19 kB
JavaScript
module.exports = {
envAlias: 'default',
service: {
target: 'ecs',
mappings: {
env: {
release: '^v[0-9]+[\\.0-9]+$',
production: 'prod(uction)?'
}
},
source: {
type: null,
base: null,
repo: null
},
github: {
token: null,
secret: null
},
bitbucket: {
consumer_key: null,
consumer_secret: null
},
airbrake: {
id: null,
key: null
},
pubnub: {
publish_key: null,
subscribe_key: null
},
slack: {
// TODO: Remove hardcoded default test Slack webhook config ...
// webhook: null,
webhook: 'https://hooks.slack.com/services/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',
channel: '#test',
username: 'Bowtie CI',
icon_url: 'https://cdn.razorsites.co/img/logos/bowtie.png'
},
permissions: {
tags: {
allow: 'read'
},
stacks: {
allow: 'read'
},
index: {
allow: '*'
},
deploy: {
deny: ['read'],
allow: ['write', 'admin']
},
production: {
deny: ['read', 'write'],
allow: ['admin']
}
}
}
}