Reference S3 Files with Liquibase Commands
Note: Using Liquibase Pro with S3 is available in Liquibase Pro v4.17.0 and later.
Correct configuration of paths to locate files is vital to using Liquibase files stored in S3. The following tables provide high-level guidance to read or write remote Liquibase files.
Note: An output of log files to S3 is not yet available.
Use absolute paths with remote files
File(s) | Commands | Example |
---|---|---|
Generating a changelog (see below for calling a changelog in a command) | Relative changelog path required to preserve DBCL integrity. | |
flowfile (such as liquibase flowfile.yaml ) |
flow |
|
Checks settings file (such as liquibase.checks-settings.conf ) |
checks (all subcommands) |
|
Defaults file
(such as liquibase.properties )
|
All |
|
init project files
|
init project |
The |
output-file
|
All commands which support the --output-file property. |
|
driver.properties
|
All that support the --driver-properties-file property. |
|
snapshot.json
|
|
|
HTML operation report files | All that support Operation Reports |
Note: You cannot specify a region directly in the path. You must specify the region in your AWS configuration files or as an environment variable. |
Use relative path + searchpath for changelogs
File(s) | Commands | Example |
---|---|---|
Using a changelog (changelog file/resources)
|
|
A relative changelog path is required to preserve the Liquibase tracking table integrity. |
Use searchpath with remote files
File(s) | Commands | Example |
---|---|---|
Snapshots (such as mysnapshot.json ) |
|
|
Native executor config files (such as liquibase.sqlplus.conf , liquibase.sqlcmd.conf , liquibase.psql.conf ) |
There is no property to directly specify a native executor configuration file path. It is located using the |