| Euca2ools Guide / EC2-Compatible Commands | |
Adds or overwrites one or more tags for the specified resource or resources
euca-create-tags resource_id [resource_id ...] --tag key[=value] [--tag key[=value] ...]
| Option | Description | Required |
|---|---|---|
| resource_id | ID of the resource you want to tag. | Yes |
| --tag key or key=value | Key and optional value of the tag, separated by an equals sign (=). If you
don't include a value, Eucalyptus sets the value to an empty string. If you're using Euca2ools on Windows, you might need to use quotation marks (for example, "key=value"). |
Yes |
| Option | Description |
|---|---|
| --show-empty-fields | Show empty fields as "(nil)". |
| --region user@region | Region and/or user name to search when looking up config file data. Only valid for EC2 endpoints. |
| -U,--url url | URL of the cloud service to connect to. For administrative commands, this should be <ip_address>:8773/services/Empyrean. |
| -I,--access-key-id key_id | User's access key ID. |
| -S,--secret-key secret_key | User's secret key. |
| --security-token token | User's security token. |
| --debug | Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools. |
| --debugger | Enable interactive debugger on error. |
| -h,--help | Display the manual page for the command. |
| --version | Display the version of this tool. |
euca-create-tags emi-1e2b3c4d i-7d3e5a2f --tag appserver --tag "stack=dev" TAG image emi-1e2b3c4d appserver TAG image emi-1e2b3c4d stack dev TAG instance i-7d3e5a2f appserver TAG instance i-7d3e5a2f stack dev