name: porkbun-example runtime: yaml description: Example Pulumi program managing Porkbun DNS records. plugins: providers: - name: porkbun path: ../../bin config: domain: type: string default: example.com resources: www: type: porkbun:DnsRecord properties: domain: ${domain} name: www type: A content: 192.0.2.1 mail: type: porkbun:DnsRecord properties: domain: ${domain} name: "" type: MX content: mail.${domain} prio: 10 ttl: 3600 outputs: wwwFqdn: ${www.fqdn} wwwRecordId: ${www.id}