-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing resources fails #939
Comments
Hi @adrpp, thank you for filing this issue. Sorry you're running into trouble! It seems like there's something in your provider config that's not set up to properly authenticate you. Possibly related: #836 (that issue seems to say that what you're seeing on |
Hi, I'm providing DO token via cli stack creation, as input. e.g.
Adding debug log output does not show any additional details
Rgds, |
Hi, sorry for the confusion, got it working, was missing Ref: https://everythingdevops.dev/deploying-a-database-cluster-on-digitalocean-using-pulumi/ Maybe pulumi docs are little bit unclear about this :) |
Describe what happened
Hello,
I'm struggling a bit with Pulumi using DO provider trying to import our existing infrastructure to Pulumi.
used (v)env with py3.12 base interpreter:
First of all, created API token seems to work just fine, double checked that via your client
pydo
:The above prints all 3 resources, projects, domains and droplets.
It starts to get confusing as soon executing pulumi import, however, the error varies by the resource I try to import, e.g.:
Importing "Project":
Importing Droplet:
Importing Domain:
Summary:
pydo
client which finds & resolves the resources I try to import to pulumi.Thanks for any hint in advance,
Adrian
Sample program
Importing "Project":
Importing Droplet:
Importing Domain:
Log output
No response
Affected Resource(s)
No response
Output of
pulumi about
CLI
Version 3.130.0
Go Version go1.22.6
Go Compiler gc
Plugins
KIND NAME VERSION
resource digitalocean 4.38.0
language python unknown
Host
OS ubuntu
Version 24.04
Arch x86_64
This project is written in python: executable='.venv/bin/python' version='3.12.3'
Backend
Name g14-2
URL file:local-state
User adrian
Organizations
Token type personal
Dependencies:
NAME VERSION
pulumi_digitalocean 4.38.0
pydo 0.7.0
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: