billions-yak-6775503/26/2021, 2:49 PM
* [ERR]: Error building changeset: InvalidChangeBatch: [Tried to create an alias that targets myelbname.us-west-2.elb.amazonaws.com., type A in zone myzoneid, but the alias target name does not lie within the target zone, Tried to create an alias that targets myelbname.us-west-2.elb.amazonaws.com., type A in zone myzoneid, but that target was not found]
a_record = aws.route53.Record( 'my-a-record', allow_overwrite=True, name=my_domain, aliases=[aws.route53.RecordAliasArgs( evaluate_target_health=False, name=the_elb_dns, zone_id=my_zone )], type='A', zone_id=my_zone )
DNS domain name for a CloudFront distribution, S3 bucket, ELB, or another resource record set in this hosted zone.https://www.pulumi.com/docs/reference/pkg/aws/route53/record/#recordalias Is there something I am obviously doing wrong here? It seems to me that the change is only looking for other resource record sets, not ELB resources?
cool-fireman-9002703/26/2021, 4:22 PM
? You would have to set this from the zone_id output from the elb. https://www.pulumi.com/docs/reference/pkg/aws/elb/loadbalancer/#zone_id_python something like:
billions-yak-6775503/27/2021, 3:42 AM