forked from tripleonard/openvpn-cloudformation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheip-master.json
35 lines (35 loc) · 876 Bytes
/
eip-master.json
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
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "This simply creates a public Elastic IP and exports useful attributes",
"Metadata": {},
"Parameters": {},
"Mappings": {},
"Conditions": {},
"Resources": {
"MyEIP" : {
"Type" : "AWS::EC2::EIP",
"Properties" : {
}
}
},
"Outputs": {
"MyEIPAllocationId": {
"Description": "EIP AllocationId",
"Value": {
"Fn::GetAtt": [ "MyEIP", "AllocationId" ]
},
"Export":{
"Name": "EIPAllocationId"
}
},
"MyEIPAddress": {
"Description": "EIP IP Address",
"Value": {
"Ref": "MyEIP"
},
"Export":{
"Name": "EIPAddress"
}
}
}
}