early-island-95310
05/05/2023, 1:08 PMpulumi up
right away.
I’ve implemented a custom Pulumi provider for Kanbanize boards. The create and update methods work just fine, but I’m having trouble with the delete method. For some reason, it doesn’t pass the API key to Kanbanize, resulting in an error.
I’ve tried debugging the issue and logging the headers, but I can’t seem to figure out why the API key is not being passed.
Any help or insights on how to resolve this issue would be greatly appreciated. Thank you in advance!echoing-dinner-19531
05/06/2023, 10:01 AMearly-island-95310
05/07/2023, 6:37 PMechoing-dinner-19531
05/08/2023, 8:57 AMpulumi stack export
what properties does the "outputs" block contain for the board resource?early-island-95310
05/08/2023, 10:05 AMIf you runI removed thewhat properties does the “outputs” block contain for the board resource?pulumi stack export
provider
filed for clarity , as it contains the whole compiled code:
❯ pulumi stack export | jq '.deployment.resources[] | select(.id == "25") | .outputs | del(.__provider)'
{
"description": "",
"is_archived": 0,
"name": "AAA",
"workspace_id": 2
}
apiKey is not in the outputechoing-dinner-19531
05/08/2023, 10:08 AMearly-island-95310
05/08/2023, 10:34 AMechoing-dinner-19531
05/08/2023, 10:41 AMConsequently, the previous run must contain the correct codeOnly for destroy. For Diff/Update/Create it will always use the latest code from the program. But the engine only calls Create/Update if it thinks there's a diff and has you haven't implemented a Diff method I think the default is no diff (probably not the best default given cases like this, but back compatibility means hard to change)
early-island-95310
05/08/2023, 10:42 AMBut the engine only calls Create/Update if it thinks there’s a diff and has you haven’t implemented a Diff method I think the default is no diffAnd now I finally get it!
echoing-dinner-19531
05/08/2023, 11:52 AM