0.0.1-alpha.62 • Published 3 years ago

@cdk-utils/vercel-secret-forwarder v0.0.1-alpha.62

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

Vercel Secret Forwarder

A Cloudformation custom resource that can be used to forward the output from stacks to vercel.

Support

  • aws-cdk >= 1.111.0
  • Typescript/Javascript
  • github command line (optional)

Features

  • Returns the preview url statically to use in other dependant resources
  • Returns a function to bind in secrets to set in the custom resource

Example

Configure Secrets in GitHub Actions

source

Create a .env file with the secrets needed:

gh secret set AWS_ACCESS_KEY_ID=AK*******
gh secret set AWS_SECRET_ACCESS_KEY=456j3*******
gh secret set VERCEL_AUTH_TOKEN=pk_3*********
gh secret set VERCEL_ORGANISATION_NAME=<team-name>
gh secret set VERCEL_PROJECT_ID=pkf_
gh secret set VERCEL_PROJECT_NAME=

To set this up with github do the following:

gh secret set MYSECRET
0.0.1-alpha.67

3 years ago

0.0.1-alpha.66

3 years ago

0.0.1-alpha.68

3 years ago

0.0.1-alpha.63

3 years ago

0.0.1-alpha.62

3 years ago

0.0.1-alpha.65

3 years ago

0.0.1-alpha.64

3 years ago

0.0.1-alpha.0

3 years ago

0.0.1-alpha.58

3 years ago

0.0.1-alpha.53

3 years ago

0.0.1-alpha.52

3 years ago