Terraform extension - epam/hubctl GitHub Wiki

Terraform deploy calls trerraform plan and then terraform apply. Environment variables exported by hub-component.yaml COMPONENT_NAME, HUB_DOMAIN_NAME, CLOUD_KIND, STATE_BUCKET, STATE_REGION, and STATE_CONTAINER on Azure are used to derive path to Terraform state file on cloud object storage.

undeploy calls terraform plan -destroy and then terraform apply.

pre-/post-(un)deploy script hooks are invoked and could be used to alter hub-component-terraform behavior.

See postgresql-rds component for example.