1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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'"}]'
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 2 años