Questions tagged [aws-resource-group]

19 questions
0
votes
1 answer

How to get resources from ALL regions using ResourceGroupsTaggingAPI

I'm trying to download all ARNs with specific tags with boto3 and ResourceGroupsTaggingAPI. I'm filtering on two tags and get 8 different ARNs when I should get more than 80 ARNs. **Edit:**I figured out that it's because of a API limitation.…
Omega
  • 750
  • 1
  • 8
  • 24
0
votes
1 answer

how to apply Deny policy on "tag:UntagResources" Action in AWS

I have this policy which should prevent users to remove tagging from any recourses in AWS. but tags are still being removed from resources. { "Version": "2012-10-17", "Statement": [ { "Action": [ …
0
votes
3 answers

Adding tags to multiple SQS queues through a single cli command or a script

I have multiple aws sqs queues and some have tags but some do not. Now I want to add tags to the ones which do not have them. We have the cli command: aws sqs tag-queue to add tags for a single queue. Is it possible to add multiple tags to multiple…
0
votes
1 answer

how can i create the aws java lambda function from aws cli by ignoring unused resources?

aws lambda create-function --function-name CliTestFun --runtime java8 --region ap-south-1 --role arn:aws:iam::XXXXXXXXXXXXX:role/aws-lambda-basic-execution-role --handler com.example.demo.Search::handleRequest --zip…
1
2