Does anyone know if there are any examples out there of importing resources using the automation API (ideally in Go)? It's hard to search for "import" and "go" 😂
b
billowy-army-68599
06/24/2022, 3:19 PM
@high-piano-3034 the automation API doesn't currently support the import mechanism
importing is a one time operation, what are you trying to do?
h
high-piano-3034
06/24/2022, 3:21 PM
I'm trying to bring resources under control that were created outside of config management. Specifically I have an AWS user that I'd like to start managing but I don't want to delete and re-create it.
b
billowy-army-68599
06/24/2022, 3:22 PM
you should be able to create a stack and do a one time
pulumi import
from the CLI, then go on to manage it from the automation API