Trying to use `mediaconvert.JobTemplate` and shown...
# aws
b
Trying to use
mediaconvert.JobTemplate
and shown in this AI repsonse: https://www.pulumi.com/ai/conversations/070a5de8-f638-4366-a18b-8653d8d87b5e But it doesn't seem to be in the package.
Copy code
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")'.
I'm using:
Copy code
"dependencies": {
        "@pulumi/aws": "6.62.0",
        "@pulumi/pulumi": "3.142.0",
Am I missing something?
l
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
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
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...
b
bummer.. ok, thanks for your help