Skip to content

Instantly share code, notes, and snippets.

@flochaz
Created October 26, 2021 13:37
Show Gist options
  • Save flochaz/2ff28baf758f3968a62530cb75d0820d to your computer and use it in GitHub Desktop.
Save flochaz/2ff28baf758f3968a62530cb75d0820d to your computer and use it in GitHub Desktop.
@NotNull ISource sqlFilesAsset = Source.asset(options.migrationScriptsFolderAbsolutePath);
Bucket migrationFilesBucket = new Bucket(this, "MigrationFilesBucket");
BucketDeployment migrationFilesDeployment = BucketDeployment.Builder
.create(this, "DeploySQLMigrationFiles")
.sources(List.of(sqlFilesAsset))
.destinationBucket(migrationFilesBucket)
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment