quick-plumber-17782
10/18/2022, 8:38 AMconst backup = new aws.ec2.AmiFromInstance(`try-AMI`,{
sourceInstanceId : 'i-0000000000',
description:`AMI from instance`,
snapshotWithoutReboot:1
})
// Export the name of the bucket
exports.backupName = backup.name;
exports.backupId = backup.id;
exports.backupArn = backup.arn;
I got this error :
error: update failed
aws:ec2:AmiFromInstance (try-AMI -1892022115):
error: 1 error occurred:
* error creating EC2 AMI try-AMI -1892022115-a6bdcdd) from EC2 Instance ('i-0000000000'): InvalidInstanceID.NotFound: The instance ID 'i-0000000000'' does not exist
status code: 400, request id: c8ef283f-2cec-4e95-8439-d03cd3369c9b
in the aws managment console I see the instance (running) , can anybody help me please ? thank you.billowy-army-68599
10/18/2022, 2:45 PMquick-plumber-17782
10/22/2022, 7:28 PM