Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 887 Bytes

File metadata and controls

24 lines (18 loc) · 887 Bytes

cloudformation-databricks

Set up local type configuration

When running contract or SAM tests locally, the resources expect the Databricks token to be available via the type configuration. Executing this in the console from the project root will add it. Replace the values inside the square brackets with the actual values for testing

cat << EOF >> ~/.cfn-cli/typeConfiguration.json
{
    "DatabricksAccess": {
        "DatabricksInstance": [Instance url],
        "Token": [Databricks personal access token]
    }
}
EOF

See Authentication using Databricks personal access tokens

You must have a Databricks account to run these tests.

Testing

Some of the contract tests for specific resources require pre-configured setup. This is documented in the README.md files of those resources.