0.10.69 • Published 2 years ago

@rioclaid/cdk-constructs v0.10.69

Weekly downloads
95
License
Apache-2.0
Repository
-
Last release
2 years ago

RIO CDK Constructs

This package contains CDK constructs and projen projects for RIO teams.

NPM: @rioclaid/cdk-constructs

Projen

Run npx projen new --from @rioclaid/cdk-constructs rio-fargate-web-app

Constructs

See ./API.md for a list of constructs

Open issues

  • DataDog: Use DataDog.jar inside Docker image for profiling (using AWS Artifacts?)
  • Add vulnerability and license-check actions
  • Get self-signed certificate for LB<->Service communication

  • DataDog: Provide aspect to use lambda extensions to send logs to DataDog

  • Introduce immutable tags to RioEcrRepo (waits for https://github.com/aws/aws-cdk/pull/10557))
  • projen template should provide useful tags in pipeline template
  • Replace custom synth action with standard one, once CDK #12061 is fixed

  • Have custom resource to create BitBucket repo and webhook automatically

  • Send container image scan results to OpsGenie
  • Check for security requirements (s3 buckets, ...) - maybe automated as aspect?
  • RDS: Provide RIO-style Aurora
  • Backup: Provide aspect to add automatically backup tags
  • Send build status back to BitBucket (see cdk-codepipeline-bitbucket-build-result-reporter)
  • Support PR builds (using StepFunctions?)
  • Move this library to AWS CodeArtifact

Developing CDK libraries

Provide commit messages according to Conventional Commits. This library uses standard-version to generate the changelog and publish a new version. Example commit message:

fix(watchful): :bug: removing toggle rioclaid-1857-datadog-threshold; removed threshold
rioclaid-1857

Releasing a new version

Make sure that the parameter store /config/npm/token having the npm token to publish is added before releasing.

  1. Create locally a new release by running npm run release. (e.g. npm run release -- --release-as minor)
  2. Check the generated CHANGELOG.md file and adjust thing when necessary

Test projen projects locally

  • Ensure to have the changes compiled (run npm run compile or npm run build)
  • Create a new directory (next to this one)
  • Run npx projen new --from ../cdk-constructs/ rio-fargate-web-app --synth false
  • Open .projenrc.js and change the first line to reference the local one and devDeps to use the published one.
const { RioFargateWebApp } = require('../cdk-constructs/');

const project = new RioFargateWebApp({
  cdkVersion: '1.95.2',
  defaultReleaseBranch: 'main',
  devDeps: ['@rioclaid/cdk-constructs'],
  jsiiFqn: '@rioclaid/cdk-constructs.RioFargateWebApp',
  name: 'rio-projen',
});
project.synth();
  • Run npx projen

FAQ

  • Getting error Could not resolve dependency: jest while running projen newcommand

    	The issue is resolved in projen version `0.34.8`. Use versions >= `0.34.8`
0.10.69

2 years ago

0.10.68

2 years ago

0.10.67

2 years ago

0.10.66

3 years ago

0.10.63

3 years ago

0.10.64

3 years ago

0.10.65

3 years ago

0.10.61

3 years ago

0.10.62

3 years ago

0.10.60

3 years ago

0.10.50

3 years ago

0.10.51

3 years ago

0.10.52

3 years ago

0.10.53

3 years ago

0.10.58

3 years ago

0.10.59

3 years ago

0.10.54

3 years ago

0.10.55

3 years ago

0.10.56

3 years ago

0.10.47

3 years ago

0.10.49

3 years ago

0.10.45

3 years ago

0.10.46

3 years ago

0.10.37

4 years ago

0.10.38

4 years ago

0.10.40

4 years ago

0.10.41

4 years ago

0.10.42

4 years ago

0.10.43

4 years ago

0.10.44

4 years ago

0.10.36

4 years ago

0.10.33

4 years ago

0.10.34

4 years ago

0.10.35

4 years ago

0.10.32

4 years ago

0.10.31

4 years ago

0.10.30

4 years ago

0.10.27

4 years ago

0.10.28

4 years ago

0.10.26

4 years ago

0.10.25

4 years ago

0.10.24

4 years ago

0.10.18

4 years ago

0.10.16

4 years ago

0.10.20

4 years ago

0.10.15

4 years ago

0.10.14

4 years ago

0.10.12

4 years ago

0.10.13

4 years ago

0.10.11

4 years ago

0.10.9

4 years ago

0.10.8

4 years ago

0.10.4

4 years ago

0.10.5

4 years ago

0.9.9

4 years ago

0.10.1

4 years ago

0.10.0

4 years ago

0.9.8

4 years ago

0.9.7

4 years ago

0.9.6

4 years ago

0.9.5

4 years ago

0.9.4

4 years ago

0.9.3

4 years ago

0.8.8

4 years ago

0.8.7

4 years ago

0.8.12

4 years ago

0.8.11

4 years ago

0.8.10

4 years ago

0.8.16

4 years ago

0.8.15

4 years ago

0.0.0

4 years ago

0.8.6

4 years ago

0.8.5

4 years ago

0.8.4

4 years ago

0.8.3

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.33

4 years ago

0.7.32

4 years ago

0.7.31

4 years ago

0.7.30

4 years ago

0.7.29

4 years ago

0.7.28

4 years ago

0.7.26

4 years ago

0.7.27

4 years ago

0.7.24

4 years ago

0.7.17

5 years ago

0.7.13

5 years ago

0.7.12

5 years ago

0.7.14

5 years ago

0.7.16

5 years ago

0.7.11

5 years ago

0.7.10

5 years ago

0.7.4

5 years ago

0.7.3

5 years ago

0.7.2

5 years ago

0.7.1

5 years ago

0.5.0

5 years ago

0.6.0

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago