Open PatriQ1414 opened 1 year ago
Hey @PatriQ1414 👋 Thank you for taking the time to raise this! The error that you're receiving here is coming directly from AWS; the image_name
argument is passed directly to the CreateImageBuilder
function, so it seems based on that error that the image is not being found on the AWS side. Is it possible that an image by that name is not present in the account?
Hey @PatriQ1414 👋 Thank you for taking the time to raise this! The error that you're receiving here is coming directly from AWS; the
image_name
argument is passed directly to theCreateImageBuilder
function, so it seems based on that error that the image is not being found on the AWS side. Is it possible that an image by that name is not present in the account?
Hi @justinretzolk thanks for helping me look into this. I just want to confirm that the image was shared from a different AWS account, and is "Available" under the image registry of the external account. The correct image name as listed in the image registry was used in the "image_name" argument.
I'm running into this same issue when trying to create a fleet with an image shared from another account via Terraform. However, it works via the console (where the shared image is visible). Yet to confirm if it works via CLI.
Hi, I'm seeing this issue was reported more than one year ago, and it's still happening. I can confirm that the "shared image" is present and also works from the AWS Console. But when trying to create an Appstream ImageBuilder using the shared image, it reports with ResourceNotFoundException. Thanks for taking care of this :)
Error when trying to create AppStream 2.0 ImageBuilder using an Appstream image shared from another AWS account
TF code
Error
Error: error creating Appstream ImageBuilder (Imagebuilder-v1): ResourceNotFoundException: The image ALL_V1.38_08072022 for account XXXXXXXXXXX does not exist.
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Error: error creating Appstream ImageBuilder (Imagebuilder-v1): ResourceNotFoundException: The image ALL_V1.38_08072022 for account XXXXXXXXXXX does not exist.
Panic Output
Expected Behavior
Actual Behavior
Error: error creating Appstream ImageBuilder (Imagebuilder-v1): ResourceNotFoundException: The image ALL_V1.38_08072022 for account XXXXXXXXXXX does not exist.
Steps to Reproduce
terraform apply
Important Factoids
References
0000