Description
Executes a Packer template on an Elastic Compute Service (ECS) instance.
Syntax
Action: ACS::ECS::RunPacker
Properties:
regionId: String
instanceId: String
sourceType: String
sourcePath: String
tokenInfo: String
templateFile: String
mode: StringAttributes
Attribute | Description | Type | Required | Default value | Limit |
regionId | The region ID. | String | No | {{ ACS::RegionId }} | |
instanceId | The ID of the ECS instance. | String | Yes | ||
sourceType | The storage method of files. | String | Yes | ||
sourcePath | The source URL of files. | String | Yes | ||
tokenInfo | The token that is used to download files from GitHub. | String | No | ||
templateFile | The Packer template file to be executed. | String | Yes | ||
mode | The execution mode of the Packer template. | String | No | build |
Output
Output item | Description | Type |
commandOutput | String |
References
For more information, see ACS::ECS::RunPacker at GitHub.