blob: d9cd94cc114b9fb0fd8fd414ac49035eaefce415 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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}
|