https://pulumi.com logo
#getting-started
Title
# getting-started
t

thankful-fall-44419

02/01/2024, 9:03 PM
Hi, I am trying to create a program with multiple independent steps with Java/Kotlin. how can I concatenate sequentially the various stacks?
s

salmon-account-74572

02/01/2024, 9:52 PM
If I’m understanding your question correctly (you want to automate/orchestrate operations against multiple stacks), you’ll want to use Pulumi’s Automation API. It will let you write code that will programmatically invoke Pulumi operations against other stacks.
l

little-cartoon-10569

02/01/2024, 10:22 PM
Or write a script that cds into the right directories and runs
pulumi up
in the right order 🙂
s

salmon-account-74572

02/01/2024, 10:24 PM
Exactly, write a script...using the Automation API 😄
t

thankful-fall-44419

02/02/2024, 8:26 AM
Hi Scott,
thanks. Does an automation api java/kotlin client exists?
or it is a bash script bonanza?
s

salmon-account-74572

02/02/2024, 3:56 PM
I don't think we have Java/Kotlin support in Automation API, but the language you use for the Pulumi program doesn't necessarily have to match the language you use with Automation API. So you could use Go (for example) with Java/Kotlin Pulumi programs. I know that's not ideal, but that's the workaround currently.
t

thankful-fall-44419

02/02/2024, 3:58 PM
How about Helm Chart support with Java/Kotlin libraries?
s

salmon-account-74572

02/02/2024, 4:01 PM
The Pulumi Kubernetes provider (see https://github.com/pulumi/pulumi-kubernetes) does have a Java SDK, so the support should be there.
t

thankful-fall-44419

02/02/2024, 4:08 PM
Great. The documentation refers to com.pulumi.kubernetes.helm.v3.Chart but I can't see it
s

salmon-account-74572

02/02/2024, 4:12 PM
In browsing
<https://github.com/pulumi/pulumi-kubernetes/blob/master/sdk/java/src/main/java/com/pulumi/kubernetes/helm/v3/Release.java>
it looks like there may be only
Helmv3.Release
support (which we generally recommend using over
Helmv3.Chart
). I am not a Java expert, though, so I may have missed it.
t

thankful-fall-44419

02/02/2024, 4:13 PM
Thanks. It makes sense. Have a great weekend
s

salmon-account-74572

02/02/2024, 4:13 PM
You too!