-
Notifications
You must be signed in to change notification settings - Fork 121
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
DNSimple Static Config Ignored in dotnet #5043
Labels
Comments
drusellers
added
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
labels
Jul 27, 2024
Could you provide more context, like an error message or some more detail on what you expected vs what happened? |
thoward
added
area/api-docs
area/docs
and removed
needs-triage
Needs attention from the triage team
labels
Jul 29, 2024
❯ pulumi up
Previewing update (dev)
View in Browser (Ctrl+O): https://app.pulumi.com/drusellers/groundwork/dev/previews/494be034-eb37-4586-9062-cfd21c2fac1c
Type Name Plan Info
pulumi:pulumi:Stack groundwork-dev
└─ dnsimple:index:ZoneRecord test-record 1 error
Diagnostics:
dnsimple:index:ZoneRecord (test-record):
error: must provide api token: must define a token for the dnsimple provider or set the DNSIMPLE_TOKEN environment variable but it works with ❯ DNSIMPLE_ACCOUNT=... DNSIMPLE_TOKEN=... pulumi up
Previewing update (dev)
View in Browser (Ctrl+O): https://app.pulumi.com/drusellers/groundwork/dev/previews/22ce627e-29b5-48b2-95e1-f1dbcd23860a
Type Name Plan
pulumi:pulumi:Stack groundwork-dev
Resources:
2 unchanged
Do you want to perform this update? yes
Updating (dev)
View in Browser (Ctrl+O): https://app.pulumi.com/drusellers/groundwork/dev/updates/2
Type Name Status
pulumi:pulumi:Stack groundwork-dev
Resources:
2 unchanged
Duration: 1s I think its odd that the static configuration isn't being respected. The classes are using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
I was starting my Pulumi adventure and wanted to see if I could automate some DNS stuff in DNSimple. Because I'm just starting I didn't really want to muck around with ENV VAR so I thought I could use some kind of static configuration. I found
Pulumi.DNSimple.Config
and thought I could set those values. Alas, they weren't respected and had to revert to ENV VAR.Example
Output of
pulumi about
Additional context
I think that is everything.
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: