pulumi / pulumi/pulumi-java

auto: Add support for `importResources` (API for `pulumi import`)

Open
#1,638 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/automation-api kind/enhancement
Dominant language
Java
Stars
85
Forks
26
Avg merge
11h 49m
Merged PRs (30d)
22

Description

Support for this was recently added for the other languages. We should expose it for Java as well.

    /**
     * Import resources into a stack.
     *
     * @param options Import options to customize the behaviour of the import
     *                operation
     * @return The output of the import command, including the generated code, if
     *         any
     * @throws AutomationException if an error occurs
     */
    public ImportResult importResources(ImportOptions options) throws AutomationException {
        throw new UnsupportedOperationException("TODO");
    }

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing importResources implementations for the other languages and the Java Automation API containing the shown method. Compare their behavior and identify the Java-specific tests or entry points for this operation. Done means Java exposes the importResources API with behavior matching the existing language implementations rather than the current unsupported-operation placeholder.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.