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 Respostas
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
ESPECIALISTA
respondido há 2 anos
  • 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 há 2 anos
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 há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas