components/helm_chart.toml
Name | Value |
---|---|
port | 3000 |
Name | Value |
---|---|
bucket_name | {{ .nuon.components.storage.bucket_name }} |
Same Variable Value on Every Install
Settings common to all your installs can be set directly on the component and it will be the same across all installs. Example:cache_size
with value 4096
.
Unique Variable Value For Each Install
For example, the install id can be passed as a variable to the Sandbox for an EKS cluster name.sandbox.toml
Variable Data Sources
Nuon Information
- Nuon Organization ID
{{ .nuon.org.id }}
- Unique identifier for the vendor organization
- Nuon Application ID
{{ .nuon.app.id }}
- Unique identifier for the vendor application
- Nuon Install ID
{{ .nuon.install.id }}
- Nuon Install Sandbox Type
{{ .nuon.install.sandbox.type }}
- Example:
aws-eks
- Example:
- Nuon Install Sandbox Version
{{ .nuon.install.sandbox.version }}
- Example:
0.11.1
- Example:
Nuon Install Sandbox Outputs
See the aws-eks-sandbox repository for the most up-to-date list of outputs available from the Sandbox.Install Inputs
Any app input can be accessed using variables. For instance, given an app input,foo
, it can be accessed using:
{{ .nuon.install.inputs.foo }}
Output from Other Components in an Application
Some component types including terraform components will provide output values that will be required as input variables to other components of the application. These outputs are available grouped under the slug version of the component name.- Template Syntax:
{{ .nuon.components.<component_name_slug>.outputs.<output_name> }}
- Example:
{{ .nuon.components.rds_db.outputs.db_url }}
Component Image Data from Other Components in an Application
{{ .nuon.components.<component_name_slug>.image.tag }}
- Docker/OCI Image tag used for the component deployment
{{ .nuon.components.<component_name_slug>.image.repository }}
- ECR Repository containing this component’s images
{{ .nuon.components.<component_name_slug>.image.registry }}
- ECR Registry containing this component’s images