trivikr / aws-sdk-auth-token-repro

Attempting to repro https://github.com/aws/aws-sdk-js/issues/4286

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aws-sdk-auth-token-repro

Tests npm ping on AWS CodeBuild

The cdk.json file tells the CDK Toolkit how to execute your app.

Setup

  • Run yarn to install dependencies.

  • Run yarn cdk deploy deploy this stack.

  • Visit CodeBuildNpmPingTest* project in CodeBuild AWS Console, and click on Start Build.

  • Verify that the build succeeds, and the following output is displayed:

    node version: v16.15.1
    
    npm version: 8.11.0
    
    { code: 0, signal: null }
  • Run yarn cdk destroy destroy the stack.

Oher userful commands

  • yarn cdk diff compare deployed stack with current state.

  • yarn cdk synth emits the synthesized CloudFormation template.

  • You can also run the builds using AWS CLI. For example:

    aws codebuild start-build --project-name <CodeBuildNpmPingTestName>

About

Attempting to repro https://github.com/aws/aws-sdk-js/issues/4286

License:MIT License


Languages

Language:JavaScript 95.9%Language:TypeScript 4.1%