Skip to main content

Search the Dev Center

Search tutorials, templates, examples, and more.

esc-connector-lambda-typescript

A template to setup an AWS Lambda Secret Rotation Connector

Get started

Create a new project from this template with the Pulumi CLI:
Terminal window
mkdir my-project && cd my-project
pulumi new esc-connector-lambda-typescript

Configuration

The template prompts for these values during pulumi new.
KeyDescriptionDefault
aws:regionThe AWS region to deploy intous-west-2
rdsDbIdentifierThe DB Identifier of the RDS cluster for which rotating secrets are being configured.—
rotatedSecretsEnvironmentNameName of the environment that will rotate the DB credentials. Format of the name needs to be `myProject/myEnvironment`.—
managingCredsEnvironmentName(Optional) Name of the environment that will contain the privileged managing user credentials used to rotate the user DB credentials. Otherwise the name will be derived from the rotated secrets environment name.—
backendUrl(Optional) The Pulumi Cloud URL. Change this URL ONLY if you are self-hosting Pulumi Cloud.https://api.pulumi.com
You can change these values later with pulumi config set:
Terminal window
pulumi config set aws:region <value>
pulumi config set rdsDbIdentifier <value>
pulumi config set rotatedSecretsEnvironmentName <value>
pulumi config set managingCredsEnvironmentName <value>
pulumi config set backendUrl <value>

Deploying the project

Once the new project is created and configured, you can deploy it with pulumi up:
Terminal window
pulumi up

Related

The infrastructure as code platform for any cloud.