Tags

From wikieduonline
Revision as of 09:36, 7 February 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search

AWS

            "Tags": [
                       {
                           "Key": "Name",
                           "Value": "YOUR_NAME"
                       }
aws ec2 describe-route-tables | jq -r '.RouteTables[] | select(.Tags[].Value=="YOUR_TAG/PublicRouteTable") | .RouteTableId'

Related: aws-find, Terraform resource: aws_ec2_tag

Terraform


.tfvars
 tags = {
   env          = "sandbox",
   created-by   = "your_name"
   triggered-by = "terraform"
   project      = "your_project"
   ou           = "your_OU"
 }


 tags = { 
   Environment = "dev"
   Terraform   = "true"
 }

Related terms

Advertising: