Tags
Jump to navigation
Jump to search
AWS[edit]
"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, Terraform provider-level tagging[edit]
.tfvars tags = { env = "sandbox", created-by = "your_name" triggered-by = "terraform" project = "your_project" ou = "your_OU" }
AWS[edit]
# Terraform 0.12 (2019) and later syntax provider "aws" { # ... other configuration ... default_tags { tags = { Environment = "Production" Owner = "Ops" } } }
tags = { Environment = "dev" Terraform = "true" }
Related terms[edit]
Advertising: