All Questions
Tagged with tagging amazon-web-services
42 questions
0
votes
1
answer
98
views
Is it possible to tag a Security hub resource?
As part of tagging all the AWS resources we use, I am trying to tag Security Hub with below arn. However, I don't see any option in the AWS console.
arn:aws:securityhub:eu-west-2:XXXXXXXX:hub/default
...
1
vote
1
answer
503
views
How to create a Service Control Policy which denies Ec2 creation action if specific tags are missing?
I'm currently working on implementing an AWS Organization SCP. I'm aiming to fulfill the following conditions:
Prevent the 'ec2:RunInstances' action if the required tag keys are absent from the ...
-1
votes
1
answer
402
views
Ignore Specific ASG Tag Using Terraform
I am creating ASG resources with terraform and adding tags using the latest syntax such as
tag {
key = "external-sync"
value = "false"...
1
vote
1
answer
359
views
Why ASG Tagging in Terraform uses list of maps instead of a single map?
#1. AWS Resource Tagging Using Terraform (single map)
resource "aws_vpc" "example" {
# ... other configuration ...
tags = {
Name = "MyVPC"
}
}
#2. ASG Tagging ...
0
votes
2
answers
908
views
How to get a relative path of terragrunt.hcl in an AWS resource's tag?
How can I tag each AWS resource with a relative path of its source/terragrunt.hcl file? Ideally, the solution, if it exists, would also work with a locally/relatively referenced modules (rather than ...
0
votes
1
answer
616
views
Referencing tags in resources with CloudFormation
How can I reference a common set of tags in cloudFormation without declaring tags in each resource if possible?
For example, with Terraform you can create a locals.tf file and have a block for tags to ...
5
votes
0
answers
689
views
How to keep existing tags on aurora autoscaled replicas from primary database?
My question is when i am autoscaling my primary database i need all new automatically created replicas have the same tags that original database has been setup with, i am working in aws cli. So far i ...
0
votes
1
answer
687
views
How do I allow Creating Tags only for certain operations - AWS IAM
Following an example from the internet with RunInstance and ec2:CreateTag + ec2:CreateAction I am trying to ONLY allow the operations below if during their creation a certain Tag is set (not present ...
0
votes
1
answer
775
views
Do the underlying resources that get used by AWS SageMaker have to be tagged independently (since tagging is only permitted at the domain level)?
SageMaker has many components that do not show up in the resource tag editor. So the individual components of SageMaker end up showing up as non-allocated costs.
So tags can be placed at the SageMaker ...
4
votes
1
answer
1k
views
How to enable ec2 tag access via Instance Metadata Service through CloudFormation
I would like to have my CloudFormation Launch template enable the EC2 Tag Access. I am seeing it on the Launch Template options in the console.
Which means I technically could add it to my Launch ...
1
vote
1
answer
2k
views
AWS Cloudformation: Tagging block device from auto-scaling launch configuration
I have created an autoscaling group and its launch configuration via Cloudformation template.
The Autoscaling group has only one tag called 'name'.
There is a block device mapping for the ec2 ...
0
votes
0
answers
49
views
Trying to create a aws S3 policy to allow creating a S3 and only allowed to delete with specific tag name
I have been able to figure out how to limit a policy to creating a s3, but have not been able to figure out the json for onl allowing the user to only be able to delete with specific TAG.
Updated:
I ...
0
votes
1
answer
193
views
Can object tagging be used with AWS Snowball Edge?
Will be using a Snowball Edge to migrate some data. We want to use object tagging so that objects can transfer to AWS with their tags but not clear whether can do this on the Snowball? Is there a ...
0
votes
1
answer
492
views
Bad handler error when running AWS Lambda with console
I try to do Amazon S3 Bucket resource tagging with AWS Lambda. I need Lambda function to take tags from users and apply them to newly uploaded objects in an Amazon S3 Bucket.
I think get_user_tags in ...
0
votes
1
answer
2k
views
AWS User Data fails with invalid region name when it is correct
user data bash script fails with Provided region_name doesn't match a support format.
when running the script from comand line works fine.
#!/bin/bash
Hostname=”`wget -qO- http://instance-data/latest/...