This message was deleted.
# python
s
This message was deleted.
s
so creating 2 resources it's the same
sorry for the noise, I assumed that learning pulumi I'll avoid learning terraform 😄
grrrr. Nop, they are record aliases in route53 , I don't know how to translate them https://www.terraform.io/docs/providers/aws/r/route53_record.html#alias-record
Copy code
api_record = route53.Record(
    'api_record',
    name=domain.domain_name,
    type='A',
    zone_id=zone.id,
    aliases=[{
        "name": domain.cloudfront_domain_name,
        "zone_id": domain.cloudfront_zone_id,
        "evaluate_target_health": True
    }]
)
worked
👍 1