Skip to content

Instantly share code, notes, and snippets.

View stewartnoll's full-sized avatar

Stewart Noll stewartnoll

View GitHub Profile
@stewartnoll
stewartnoll / awsResourcesWithTags.ts
Last active February 2, 2020 14:31
[Pulumi]: AWS Resources that support Tags
/**
* A list of all AWS resources that support tags.
*
* Generated with the help of:
* grep -rl 'public readonly tags!' <path-to-pulumi-aws-repo>/sdk/nodejs/
* | xargs grep 'public static readonly __pulumiType'
* | awk '{print $7}'
* | sed 's/.$/,/'
*/
name: Master CI/CD
on:
push:
branches:
- master
jobs:
primary:
service: <your service name here>
plugins:
- serverless-s3-sync
custom:
stage: ${opt:stage, 'dev'}
bucketName: ${self:custom.stage}-${self:service}
s3Sync:
- bucketName: ${self:custom.bucketName}