proud-alarm-92546
06/10/2019, 11:08 PMawsx.elasticloadbalancingv2.ApplicationLoadBalancer..... ipAddressType: config.ipAddressType,
anyone want to help me type this properly? a config string isn't it... it seems to want:
ipAddressType?: pulumi.Input<"ipv4" | "dualstack">;
TSError: ⨯ Unable to compile TypeScript:
index.ts(65,87): error TS2345: Argument of type '{ name: string; vpc: Vpc; external: true; ipAddressType: string; securityGroups: SecurityGroup[]; subnets: Output<string>[]; }' is not assignable to parameter of type 'ApplicationLoadBalancerArgs'.
Types of property 'ipAddressType' are incompatible.
Type 'string' is not assignable to type '"dualstack" | "ipv4" | Promise<"dualstack" | "ipv4"> | OutputInstance<"dualstack" | "ipv4"> | undefined'.
index.ts(136,64): error TS7006: Parameter 'hostname' implicitly has an 'any' type.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by