error: Running program '/Users/me/Development/mycompany/infrastructure/' failed with an unhandled exception:
TSError: ⨯ Unable to compile TypeScript:
index.ts(356,58): error TS2339: Property 'JobTemplate' does not exist on type 'typeof import("/Users/me/Development/mycompany/infrastructure/node_modules/@pulumi/aws/mediaconvert/index")'.
No, when something like that happens, AI is missing something. AI is usually wrong, but sometimes not so wrong that you can't fix it.
I would imagine that AI respected your request to use "job template" and forced that into the response, even though there is no mediaconvert JobTemplate in the Terraform or Pulumi providers. Unfortunately it isn't in the AWS Cloud Control provider either.
b
brave-angle-33257
12/02/2024, 8:44 PM
ok, thanks. so there's no way to create the job template via pulumi, correct? Looks like I can create the queue and maybe use boto3 to create a job directly, bypassing the template
l
little-cartoon-10569
12/02/2024, 8:45 PM
Yes, you can't do it via the Pulumi SDK. I can't see it in the boto SDK either. Looks like it's API-only for now...
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.