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 官方已更新 8 個月前