- Más nuevo
- Más votos
- Más comentarios
I can see you are passing in the region via --region us-east-1
in the get-instance-snapshots request but not in the command for create-instances-from-snapshot ( though it could perhaps be in your cli-input-json file which being truncated in your original post, I cannot confirm ). Could you confirm if you are in fact making both requests in the same AWS Region ?
The "instanceSnapshotName" in the json file parameter is "$snapshot-2", is this correct?
The "$snapshot-2" and "$instance-snapshot-2" are just placeholders for the actual snapshot name and are interchangeable in this case.
That didn't impact the question or issue.
Thanks
The issue is that since there is no way to build an image that one can use with TF or for repeated deployment and there is no way to upsize or scale a Lightsail instance without a snapshot makes it very difficult to use.
It means that for each iteration of the instance, we need to sometimes manually snapshot especially when there is a need for immediate upsizing, and use that to redeploy the software.
Without being to use a JSON file, it means running aws lightsail commands one per one which is slow and stretches the deployment time.
Had it being there is a way to create an image, this would have been just a "tf apply" with the configurations needed and done.
Contenido relevante
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 2 años
Thank you so much. Passing the "--region" parameter got the job done. Deeply appreciated.