Channels
esc
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
policy-as-code
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
general
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
# general
b
bulky-agent-73210
04/28/2022, 4:33 PM
Hi folks, are there any tutorials, how to import existing values into a resource, for the inline program (preferably Go)?
b
billowy-army-68599
04/28/2022, 5:02 PM
do you mean with
pulumi import
?
b
bulky-agent-73210
04/28/2022, 5:03 PM
Not exactly, I’d like to avoid pulumi CLI, that’s why I’m using inline stack management code.
https://github.com/pulumi/automation-api-examples/blob/main/go/inline_program/main.go
b
billowy-army-68599
04/28/2022, 5:04 PM
that's not possible right now, yu'd need to use
pulumi import
then copy the code into your automation api program
b
bulky-agent-73210
05/03/2022, 7:12 AM
Alright, thanks. Is there a way to import resources from custom pulumi provider via pulumi CLI?
4 Views
Post