`pulumi convert` Java code-gen does not emit `import`s
Open
Nobody has claimed this yet.
area/codegen
kind/bug
language/java
- Dominant language
- Java
- Stars
- 85
- Forks
- 26
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 22
Description
When converting a YAML file that uses, say, AWS resources, various imports like the following:
import com.pulumi.aws.*;
import com.pulumi.aws.inputs.*;
import com.pulumi.aws.ec2.*;
import com.pulumi.aws.ec2.inputs.*;
Are missing entirely from the generated code.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by converting a YAML file that uses AWS resources, then inspect the generated Java source for missing imports. Trace the Java code-generation path used by pulumi convert; done means the generated code includes the required Pulumi AWS, resource, and input imports.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100