- Newest
- Most votes
- Most comments
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.
Relevant content
- asked 5 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 months ago
Thank you so much. Passing the "--region" parameter got the job done. Deeply appreciated.