Closed tabrez78 closed 4 years ago
aws ec2 create-vpc --cidr-block 192.168.0.0/16 --tag-specifications 'ResourceType=vpc,Tags=[Key=Name,Value=cli-vpc]'
am i using the right syntax to create the tags or do i need to create a tag after creating a resource Unknown options: --tag-specifications, ResourceType=vpc,Tags=[{Key=Name,Value=myvpc}]
--tag-specifications (list) In list we can mention name
aws ec2 create-vpc --cidr-block 192.168.0.0/16 --tag-specifications 'ResourceType=vpc,Tags=[Key=Name,Value=cli-vpc]'
am i using the right syntax to create the tags or do i need to create a tag after creating a resource Unknown options: --tag-specifications, ResourceType=vpc,Tags=[{Key=Name,Value=myvpc}]