shared_service_deployer.py.
The Python wrapper script handles the deployment work for you. It creates Kubernetes Jobs that run
Terraform using the nx1-deployer image, then streams the logs back to your terminal until each
Job finishes.
Configuration file
The configuration file is a single YAML file that you write and pass to theshared_service_deployer.py
Python wrapper script. The script reads the YAML file, then Terraform uses the variables.
The following is sample code that shows how to set NexusOne variables in a config file:
Deploy the core and modules tiers
Theshared_service_deployer.py script runs against your Kubernetes API server using a
kubeconfig. That triggers a Job that runs the nx1-deployer image, which then runs Terraform.
You can run this script manually from a bastion host with cluster access, or wire it into your
CI/CD pipeline. Either way, the command itself doesn’t change.
The following sample command describes how to deploy both tiers:
Additional resources
- For what each component does and which tier it deploys in, refer to Deployment architecture.
- For the variables that control these components, refer to Deployment variables.
- For the core and modules deployer’s full command reference, refer to shared_service_deployer.py.

