https://pulumi.com logo
#general
Title
# general
p

proud-alarm-92546

06/10/2019, 11:08 PM
awsx.elasticloadbalancingv2.ApplicationLoadBalancer..... ipAddressType: config.ipAddressType,
anyone want to help me type this properly? a config string isn't it... it seems to want:
Copy code
ipAddressType?: pulumi.Input<"ipv4" | "dualstack">;
Copy code
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.