How to add AWS tags to an existing repository in AWS CodeCommit

0 votes

Hi Guys,

I have one repository in AWS CodeCommit. I want to add AWS tags to the repository. How can I do that with the CLI command?

Nov 25, 2020 in AWS by akhtar
• 38,260 points
727 views

1 answer to this question.

0 votes

Hi@akhtar,

You can add or update tags for a resource in AWS CodeCommit. The following tag-resource example tags the specified repository with two tags.

$ aws codecommit tag-resource \
    --resource-arn arn:aws:codecommit:us-west-2:111111111111:MyDemoRepo \
    --tags Status=Secret,Team=Saanvi
answered Nov 25, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer

How to add IAM role to an existing instance in aws?

As of AWS CLI v1.11.46,  you can ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,170 points
1,630 views
0 votes
1 answer

How to add or update a trigger in a repository in AWS CodeCommit?

Hi@akhtar, The below example demonstrates how to update triggers ...READ MORE

answered Nov 25, 2020 in AWS by MD
• 95,460 points
696 views
0 votes
1 answer

How to get the contents of a folder in an AWS CodeCommit repository?

Hi@akhtar, The following get-folder example demonstrates how to get the ...READ MORE

answered Nov 25, 2020 in AWS by MD
• 95,460 points

edited Aug 4, 2023 by Khan Sarfaraz 2,754 views
0 votes
1 answer

How to add a role to an instance profile in AWS?

Hi@akhtar, You can add the specified IAM role ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
606 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to create a branch in an AWS CodeCommit repository?

Hi@akhtar, This example creates a branch in an ...READ MORE

answered Nov 23, 2020 in AWS by MD
• 95,460 points
1,427 views
0 votes
1 answer

How to add a file to a repository in AWS CodeCommit?

Hi@akhtar, You can add or update a file in a ...READ MORE

answered Nov 24, 2020 in AWS by MD
• 95,460 points
1,662 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP