great-sundown-78827
08/27/2025, 2:40 PMvantage_team
via the Pulumi-wrapped Terraform provider, the resource is created successfully and a token
(e.g., team_…
) is returned as an output. However, the Pulumi resource ID is never set and remains "missing ID"
in state. Because the ID is empty, Pulumi treats the resource as absent on subsequent previews/updates and plans a replace instead of an in-place update.
Example code:
import * as pulumi from "@pulumi/pulumi";
import * as vantage from "@local/vantage";
...
const team = new vantage.Team("TestTeam", {
name: "TestTeam",
description: "TestTeam",
workspaceTokens: [],
});
State:
{
"urn": "urn:pulumi:default::...::vantage:team:NDTeam$vantage:index/team:Team::TestTeam",
"custom": true,
"id": "missing ID",
"type": "vantage:index/team:Team",
"inputs": {
"description": "TestTeam",
"name": "TestTeam",
"workspaceTokens": []
},
"outputs": {
"description": "TestTeam",
"name": "TestTeam",
"token": "team_a3a926c31733487a",
"userEmails": [],
"userTokens": [],
"workspaceTokens": []
},
"provider": "urn:pulumi:default::...::pulumi:providers:vantage::default_0_1_62::2d400833-a014-45c3-b5cf-177eb33a4956"
}
@white-camera-67848 Is this a bug in the provider - ie, is there some missing connection in the provider that needs to tell it to map the "outputs.token" field (which is the unique ID of the team) to the "id" field in the state file?echoing-dinner-19531
08/27/2025, 6:50 PMechoing-dinner-19531
08/27/2025, 6:51 PMgreat-sundown-78827
08/27/2025, 9:55 PMgreat-sundown-78827
08/27/2025, 10:33 PMpulumi package add terraform-provider vantage-sh/vantage
command (though per https://github.com/pulumi/pulumi/issues/20386, I had to do some manual work to make it work for now)great-sundown-78827
08/27/2025, 10:38 PMechoing-dinner-19531
08/28/2025, 7:49 AMim curious how long until it gets released?Should be today
great-sundown-78827
08/28/2025, 3:40 PMechoing-dinner-19531
08/28/2025, 5:36 PMgreat-sundown-78827
08/28/2025, 9:56 PM