I asked Pulumi AI for I want automation api code that gets a stack's state file in typescript
And it produced good looking code but the import used the old import path with the x in the package name:
import { LocalWorkspace, AutomationStack } from "@pulumi/pulumi/x/automation";
Expected Behavior
Should use the correct import:
import { LocalWorkspace, AutomationStack } from "@pulumi/pulumi/automation";
Steps to reproduce
Ask it to generate some automation api code.
Output of pulumi about
N/A
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
What happened?
I asked Pulumi AI for
I want automation api code that gets a stack's state file
in typescriptAnd it produced good looking code but the import used the old import path with the x in the package name:
import { LocalWorkspace, AutomationStack } from "@pulumi/pulumi/x/automation";
Expected Behavior
Should use the correct import:
import { LocalWorkspace, AutomationStack } from "@pulumi/pulumi/automation";
Steps to reproduce
Ask it to generate some automation api code.
Output of
pulumi about
N/A
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).