Skip to content

Commit dc2a1ce

Browse files
committed
fix type of networks
1 parent 3545483 commit dc2a1ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ export interface DefangServiceArgs {
820820
/** the platform to deploy to; defaults to "linux/amd64" */
821821
platform?: pulumi.Input<Platform>;
822822
/** which network the service is in, ie. whether the service requires a public IP or not; defaults to "private" (was: internal=true) */
823-
networks?: Record<NetworkName, Network>;
823+
networks?: { [key in NetworkName]?: Network };
824824
/** the optional deployment configuration */
825825
deploy?: pulumi.Input<Deploy>;
826826
/** the ports to expose */

0 commit comments

Comments
 (0)