Skip to content

When not needing the SQL function and updater Lambda stack (for Postgres connection), how best to remove? #3400

Description

@chrisl777

Amplify CLI Version

14.2.3

Question

Question, we successfully connected to a Postgres database (external to AWS) from our Gen 2 schema, following the docs here: https://docs.amplify.aws/react-native/build-a-backend/data/connect-to-existing-data-sources/connect-postgres-mysql-database/

I see that Amplify automatically creates and manages the SQL function and updater Lambda for connecting to the Postgres database, in a CloudFormation stack.

We no longer need the connection to Postgres and want to remove it from our schema. What is the best way to get rid of the CloudFormation stack for the SQL function and updater Lambda? I don't see anything in the docs about what do to tear down the stack.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions