1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Hello.
I think it's possible to set variables within JSON.
For example, if you do the following, the value test1 will be set in the EC2 tag.
test=test1
aws ec2 create-tags --resources i-aaaaaaaaaaaaa --tags '[{"Key": "test", "Value": "'$test'"}]'
関連するコンテンツ
- AWS公式更新しました 2年前
- AWS公式更新しました 1年前