How to use AMI ID as parent in an imagebuilder recipe

The imagebuilder_recipe component (Terraform Registry) takes a parent_image argument, which is of the form “arn:aws:imagebuilder:eu-central-1:aws:image/amazon-linux-2-arm64/x.x.x”

These use the predefined image builder parent images as input, but the web console of image builder also allows you to input an AMI-ID (like ami-0fe4fea1864a8caa4) as parent.

How do I do this in TF?

So as it turns out this is already possible :melting_face: