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,180 points
79 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,240 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,150 points
917 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,240 points
63 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,240 points
150 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,240 points
76 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 22, 2020 in AWS by MD
• 95,240 points
152 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,240 points
616 views