Assign Multiple Values to a Single key tag In AWS

0

I will like to know if it is possible to assign multiple values to a single key tag in AWS, especially for EC2 instances. Kindly advise.

3 Respuestas
0

No - single tag, single value. However you might consider using (say) a comma or semicolon as a delimeter and then parsing the tag value. Note that you shouldn't do this for billing tags.

What do you need multiple tag values for?

profile pictureAWS
EXPERTO
respondido hace 2 años
  • Thanks for your comment. I have an instance hosting more than one application, hence the instance is to have two application IDs for the key name application.

  • But you can do Key: Application_ID1: ABCD and Application_ID2: ABCD

  • While it is possible overload a Tag as mentioned in the other comments, it is highly not recommended https://d1.awsstatic.com/whitepapers/aws-tagging-best-practices.pdf (see page 11)

0

Hello

You can't simply, Each key must have Uniq Name, But you can do another way for example

Name-1  Project1
Name-2 Project1
Name-3 Project1
profile picture
GK
respondido hace 2 años
0

You can have a tag with multiple value field of the tag. An example is mentioned in our documentation.

The example is with the tag 'team', where more than one team is associated to that resource.

team = Engineering:QA

The delimiter is ":", but could be other valid separators. Using this to control for access takes special consideration on how you craft your policy for those values.

profile pictureAWS
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas