CreateChangeSetPayload
The file source scheme to determine where the blueprint document is located.
This can be one of the following:
file
: The blueprint document is located on the local file system of the Deploy Engine server.s3
: The blueprint document is located in an S3 bucket.gcs
: The blueprint document is located in a GCS bucket.azureblob
: The blueprint document is located in an Azure Blob Storage container.https
: The blueprint document is located via a public HTTPS URL.
For remote source authentication, the Deploy Engine server will need to be configured
with the appropriate credentials to access the remote source.
Authentication is not supported for https
sources.
Possible values: [file
, s3
, gcs
, azureblob
, https
]
file
file
The directory where the blueprint document is located.
For file
sources, this must be an absolute path to the directory on the local file system of the Deploy Engine server.
An example for a file
source would be /path/to/blueprint-directory
.
For s3
, gcs
and azureblob
sources, this must be the path to the virtual directory where the first path segment
is the bucket/container name and the rest of the path is the path to the virtual directory.
An example for a remote object storage source would be bucket-name/path/to/blueprint-directory
.
For https
sources, this must be the path to the blueprint document,
a host must be supplied in the blueprintLocationMetadata
field.
An example for a https
source would be /path/to/blueprint-directory
with a
blueprintLocationMetadata.host
field set to example.com
.
/path/to/blueprint-directory
The name of the blueprint file to use to stage changes.
project.blueprint.yml
project.blueprint.yml
blueprintLocationMetadata object
Additional metadata about the location of the blueprint document. For example, this can be used to specify the region of the bucket or container where the blueprint document is located in a cloud object storage service. This only supports scalar values.
property name* object
The value of the metadata property.
- MOD1
- MOD2
- MOD3
The string value for a metadata property.
us-east-1
The numeric value for a metadata property.
1
The boolean value for a metadata property.
true
The ID of an existing blueprint instance to stage changes for. If this is not provided and an instance name is not provided, a change set for a new blueprint instance deployment will be created.
This should be left empty if the instanceName
field is provided.
When both instanceId
and instanceName
are provided, the instanceId
field will be used.
a471bbb8-1267-4e65-873b-fa86bca71fcf
The user-defined name of an existing blueprint instance to stage changes for. If this is not provided and an instance ID is not provided, a change set for a new blueprint instance deployment will be created.
This should be left empty if the instanceId
field is provided.
When both instanceId
and instanceName
are provided, the instanceId
field will be used.
my-instance
If true, the change set will be created for a destroy operation.
This will only be used if the instanceId
or instanceName
fields are provided.
If this is not provided, the default value is false.
false
false
config object
Configuration used for carrying out actions for blueprints. This consists of environment configuration (context-wide), provider and transformer plugin specific configuration along with blueprint variables.
providers object
property name* object
Configuration for a provider plugin. This is used to configure a specific provider plugin when carrying out specific actions for a blueprint.
property name* ScalarValue
A scalar value type, can be a string, number or boolean.
- MOD1
- MOD2
- MOD3
The string value.
my-string-value
The numeric value.
1
The boolean value.
true
transformers object
property name* object
Configuration for a transformer plugin. This is used to configure a specific transformer plugin when carrying out specific actions for a blueprint.
property name* ScalarValue
A scalar value type, can be a string, number or boolean.
- MOD1
- MOD2
- MOD3
The string value.
my-string-value
The numeric value.
1
The boolean value.
true
contextVariables object
Context variables that provide information that can be used across components of the blueprint validation, change staging and deployment processes.
property name* ScalarValue
A scalar value type, can be a string, number or boolean.
- MOD1
- MOD2
- MOD3
The string value.
my-string-value
The numeric value.
1
The boolean value.
true
blueprintVariables object
Blueprint variables that are expected to match the variables defined in the source blueprint document an action is being carried out for. When evaluating a blueprint document, variables will be derived from the variables defined in this object.
property name* ScalarValue
A scalar value type, can be a string, number or boolean.
- MOD1
- MOD2
- MOD3
The string value.
my-string-value
The numeric value.
1
The boolean value.
true
{
"fileSourceScheme": "file",
"directory": "/path/to/blueprint-directory",
"blueprintFile": "project.blueprint.yml",
"blueprintLocationMetadata": {
"region": "us-east-1"
},
"instanceId": "a471bbb8-1267-4e65-873b-fa86bca71fcf",
"instanceName": "my-instance",
"destroy": false,
"config": {
"providers": {
"aws": {
"accessKeyId": "my-access-key-id",
"secretAccessKey": "secret-access-key"
}
},
"transformers": {
"celerity": {
"deployTarget": "aws-serverless"
}
},
"contextVariables": {
"myConfigKey": "my-config-value"
},
"blueprintVariables": {
"region": "us-east-1"
}
}
}