I am creating a EC2ImageBuilder. We set UserData o...
# aws
a
I am creating a EC2ImageBuilder. We set UserData on image recipe using additional instance configuration. While AWS CDK supports it, Terraform and Pulumi are missing the
additionalInstanceConfiguration
property on aws.imagebuilder.ImageRecipe. See: https://www.pulumi.com/docs/reference/pkg/aws/imagebuilder/imagerecipe/
g
until TF can catch up, the only think you can do is a custom provider 😞
also check out new
awsnative
provider if the resource is supported there,
✅ 1
a
awsnative
provider worked.
Spoke too soon.. Execution failed.
Copy code
aws-native:imagebuilder:Component (nift-base-image-ubuntu-focal-reqs-component):
    error: creating resource: operation error CloudControl: CreateResource, exceeded maximum number of attempts, 3, https response error StatusCode: 500, RequestID: f8f9df2c-9d3e-4648-9111-67cc8cba0e14, api error InternalFailure: UnknownError
l
Don't suppose anything helpful turned up in CloudWatch, for debugging this? I think this feature would be useful for a project a colleague is working on.