Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

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.