Skip to main content
Version: cicd.4.0 print this page

Parameters Store

Parameter Store is used to create parameters to store values in Amorphic.

Below is the sample resource definition file for Parameter:

{
"rS3TierParam": {
"Type": "Parameter",
"Properties": {
"ParameterKey": "adp-s3-tier",
"ParameterValue": "Standard",
"ParameterType": "String",
"Description": "Parameter to store the S3 tier",
"Scope": "global"
}
}
}
Note: Deployment dependencies

Parameter lists no other resource types under DependsOn in the CICD module configuration.

Dependent resources should not be deleted before the primary resource; attempting to do so may lead to failures or inconsistencies during the deletion process.

Referencing this Resource

Below are the common keys that can be used in the DependsOn function to retrieve details of this resource.

Supported Keys

KeyDescription
ParameterKeyReturns the ParameterKey value of this resource
ParameterValueReturns the ParameterValue value of this resource

For additional supported keys, refer to the API definition document for the respective resource type.

Example

The following example shows how to retrieve a parameter key from parameter store and use it in a job template:

{
"rPythonJob": {
"Type": "Job",
"Properties": {
"ParameterAccess": [
{
"!DependsOn": "rS3TierParam.ParameterKey"
}
]
}
}
}