Skip to content

Commit

Permalink
Update example to be async. (pulumi#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Jan 23, 2020
1 parent 5b4979f commit 401cbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packet-ts-webserver/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const vm = new packet.Device("vm", {
hostname: randomHostName.id,
operatingSystem: packet.OperatingSystems.CoreOSStable,
plan: packet.Plans.T1SmallX86,
projectId: project.id,
projectId: project.then(p => p.id),
ipAddressTypes: [packet.IpAddressTypes.PublicIPv4, packet.IpAddressTypes.PrivateIPv4, packet.IpAddressTypes.PublicIPv6],
});

Expand Down

0 comments on commit 401cbea

Please sign in to comment.