EC2にはタグを作成するオプションがあります。 --tag-specificationを使用して、cliを使用してVPCやその他のARNにタグを追加できますか?私は、次の- タグ指定付きVPCのタグ
aws ec2 create-vpc --cidr-block 193.164.0.0/16 --instance-tenancy default --tag-specifications 'ResourceType=instance,Tags=[{Key=webserver,Value=production}]' 'ResourceType=volume,Tags=[{Key=cost-center,Value=cc123}]'
エラーを試してみました: Unknown options: --tag-specifications, ResourceType=volume,Tags=[{Key=cost-center,Value=cc123}], ResourceType=instance,Tags=[{Key=webserver,Value=production}]
あなたは正しいです!タグ付けがまだ設定されていない他のサービスについて、この関連記事が見つかりました。リンク:http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html – lft93ryt