This repository contains reusable Terraform modules for Leafcloud.
modules/app-credential: Creates an OpenStack application credential and stores it in Azure Key Vault.modules/ec2-credential: Creates an OpenStack EC2 credential and stores it in Azure Key Vault.modules/containers: Creates one or more OpenStack Object Storage containers.
modules/
app-credential/
ec2-credential/
containers/
Each module is independently validated and documented.
Install hooks:
pre-commit installRun all checks:
pre-commit run --all-filesTerraform hooks are scoped to modules/* and include:
terraform_fmtterraform_validateterraform_docsterraform_tflint
Changes merged into main automatically create tags and releases based on semantic versioning.
Version bumps are derived from conventional commit messages:
FEAT:-> minorFIX:-> patchBREAKING CHANGE-> majorDOCS:,refactor:,test:,style:,REVERT:-> patch
See committed.toml for the enforced commit message rules.