- Make a copy of the latest template in
scripts
for the new version - Update the new template
- Upload the template to S3 bucket
exasol-cf-templates
in regioneu-central-1
(prod account) and enable public read access:
version=v2.0.0
aws s3 cp scripts/cloudformation_template_${version}.yml s3://exasol-cf-templates/cloudformation_template_${version}.yml
aws s3api put-object-acl --bucket exasol-cf-templates --key cloudformation_template_${version}.yml --acl public-read
The CI build runs smoke tests and static code analysis. This requires Terraform and tflint to be installed.
Run the build with the following command:
./scripts/ci.sh
System tests for deploying the Exasol Terraform module are located in the test
directory.
- Install Terraform and Go
- Create the file
test/simple_exasol_setup/terraform.tfvars
and fill in:owner = "<YOUR_EMAIL>" aws_profile = "<AWS PROFILE TO USE>"
- Run
cd test go test --timeout 2h
To publish the module to the Terraform registry create a release in the GitHub repository.
The new version will automatically be available at exasol/exasol/aws in the registry.