Description
Runs 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: String
Attributes
|
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 file storage method. |
String |
Yes |
||
|
sourcePath |
The source URL of the files. |
String |
Yes |
||
|
tokenInfo |
The token used to download files from GitHub. |
String |
No |
||
|
templateFile |
The Packer template file to run. |
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.
该文章对您有帮助吗?