This repository has been archived by the owner on Jun 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 118
Can't get multiple tag values to work #24
Comments
Where is this error coming from? What are you running with |
@rjocoleman I am using knife-ec2 |
from the looks of it you can't specify multiple values in a tag. I can specify a value string that is space separated, but not comma separated. |
This is a knife-ec2 issue. Try setting your tags a different way (via the AWS Console or AWS CLI) and you'll see this works as documented.. https://github.com/opscode/knife-ec2/blob/c120726fe1be4f4e4da2009ad6a467debbb36808/lib/chef/knife/ec2_server_create.rb#L83-L87 |
I had this problem as well. |
@erez-rabih yes allowed but doesn't work.. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When specifying multiple tag values for an instance, I can only get tags with single values to work.
These give me "ERROR: Tags should be entered in a key = value pair":
-T Project=cms,Stages=pre,Roles='web,app,db'
-T Project=cms,Stages=pre,Roles=web,app,db
This results in only the last Roles tag working:
-T Project=cms,Stages=pre,Roles=web,Roles=app,Roles=db
I know this might be more of an ec2 question, but I am only using tags in relation to cap-ec2 so I thought I'd ask here.
The text was updated successfully, but these errors were encountered: