Skip to content

Commit 401cbea

Browse files
Update example to be async. (pulumi#523)
1 parent 5b4979f commit 401cbea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packet-ts-webserver/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const vm = new packet.Device("vm", {
1313
hostname: randomHostName.id,
1414
operatingSystem: packet.OperatingSystems.CoreOSStable,
1515
plan: packet.Plans.T1SmallX86,
16-
projectId: project.id,
16+
projectId: project.then(p => p.id),
1717
ipAddressTypes: [packet.IpAddressTypes.PublicIPv4, packet.IpAddressTypes.PrivateIPv4, packet.IpAddressTypes.PublicIPv6],
1818
});
1919

0 commit comments

Comments
 (0)