https://pulumi.com logo
Title
a

able-planet-19148

10/13/2021, 1:00 PM
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

great-sunset-355

10/13/2021, 2:16 PM
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

able-planet-19148

10/13/2021, 2:33 PM
awsnative
provider worked.
Spoke too soon.. Execution failed.
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

little-cartoon-10569

10/13/2021, 8:53 PM
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.