https://pulumi.com logo
#python
Title
# python
w

worried-queen-62794

04/22/2021, 1:57 AM
This no longer seems to work in v3:
Copy code
class NetworkLoadBalancer(aws.lb.LoadBalancer):
    network_interface: Output[aws.ec2.AwaitableGetNetworkInterfaceResult]

    # TODO: Network ACL.
    def __init__(self, name: str, public_subnet_id: Input[str], opts: ResourceOptions = None):
        super(NetworkLoadBalancer, self).__init__(
            name,
            opts=opts,
            internal=False,
            load_balancer_type='network',
            subnets=[public_subnet_id]
        )

        self.network_interface = self.id.apply(lambda id: get_elb_network_interface(id, opts))

        self.record_alias = aws.route53.RecordAliasArgs(
            evaluate_target_health=False,
            name=self.dns_name,
            zone_id=self.zone_id
        )
I get:
Copy code
error: aws:route53/record:Record resource 'PlatformBackendAlias' has a problem: Missing required argument: The argument "alias.0.name" is required, but no definition was found.. Examine values at 'Record.Aliases'.
Same problem with
zone_id
. Any idea what is going on?
f

full-artist-27215

04/22/2021, 12:08 PM
m

microscopic-pilot-97530

04/26/2021, 3:52 PM
Hi Jason, just wanted to let you know that we’re tracking this issue in https://github.com/pulumi/pulumi/issues/6850
👍 1
14 Views