Skip to content

Migrate PostgresBootstrapper to AwsCustomResource class  #9

@leothomas

Description

@leothomas
  • Ensure that both onCreate and onUpdate are implemented (ref in order to ensure that we can update the bootstrapper (and apply an updated bootstrapping logic to the database)
  • Implement that actual bootstrapping itself through pypgstac's migrate functionality. (The bootstrapper currently executes the same SQL file as pypgstac's migrate function, however using the migrate function ensures that if pgstac is updated, the most recent migrations will be applied (as opposed to the version 0.3.4 , which is hardcoded in custom_resource/handler.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions