Those docs are confusing.. docs say "type" must be "PRIMARY" or "SECONDARY", but the examples and the code require that it's a record type ("A", "AAAA" etc.).
Figured it out. It was because the hosted zone wasn't explicitly named. Realized this after noticing all the suffixes were the same... Oops. Thanks for help though 🙂
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.