This no longer seems to work in v3: ```class Netwo...
# python
w
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
m
Hi Jason, just wanted to let you know that we’re tracking this issue in https://github.com/pulumi/pulumi/issues/6850
👍 1