-
Notifications
You must be signed in to change notification settings - Fork 35
/
pvtz.yml
57 lines (57 loc) · 1.04 KB
/
pvtz.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建私有DNS区域,添加DNS记录,绑定VPC到该区域。
en: Create a private DNS zone, add DNS records, and associate the VPC with this
zone.
Parameters:
ZoneName:
Type: String
Status:
Type: String
Default: DISABLE
Value:
Type: String
Default: 1.1.1.1
Rr:
Type: String
Default: mytest
Resources:
Zone:
Type: ALIYUN::PVTZ::Zone
Properties:
ZoneName:
Ref: ZoneName
ZoneRecord:
Type: ALIYUN::PVTZ::ZoneRecord
Properties:
ZoneId:
Fn::GetAtt:
- Zone
- ZoneId
Status:
Ref: Status
Rr:
Ref: Rr
Value:
Ref: Value
Priority: 1
Type: A
ZoneVpcBinder:
Type: ALIYUN::PVTZ::ZoneVpcBinder
Properties:
ZoneId:
Fn::GetAtt:
- Zone
- ZoneId
Vpcs: []
Outputs:
ZoneId:
Value:
Fn::GetAtt:
- Zone
- ZoneId
RecordId:
Value:
Fn::GetAtt:
- ZoneRecord
- RecordId