Closed MrMMorris closed 10 years ago
Where is this error coming from? What are you running with -T
?
@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. Just use another separator for your values which is different than , (comma) I chose ; and that allowed me to insert multiple values for a single tag
@erez-rabih yes allowed but doesn't work..
@hbceylan https://github.com/forward3d/cap-ec2/pull/50 supposed to resolve your issues
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.