forked from aws-cloudformation/cfn-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrefs.yaml
More file actions
44 lines (44 loc) · 1.11 KB
/
refs.yaml
File metadata and controls
44 lines (44 loc) · 1.11 KB
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
---
AWSTemplateFormatVersion: '2010-09-09'
Resources:
MyEC2Instance:
Type: "AWS::EC2::Instance"
Properties:
ImageId: "ami-2f726546"
InstanceType: t1.micro
KeyName: testkey
BlockDeviceMappings:
-
DeviceName: /dev/sdm
Ebs:
VolumeType: io1
Iops: !Ref pIops
DeleteOnTermination: false
VolumeSize: 20
NetworkInterfaces:
- DeviceIndex: "1"
# Package doesn't exist as parameter
UserData: !Sub |
yum install ${Package}
AnotherInstance:
Type: "AWS::EC2::Instance"
Properties:
ImageId: "ami-2f726546"
InstanceType: t1.micro
KeyName: testkey
BlockDeviceMappings:
-
DeviceName: /dev/sdm
Ebs:
VolumeType: io1
Iops: !Ref pIops
DeleteOnTermination: false
VolumeSize: 20
NetworkInterfaces:
- DeviceIndex: "1"
# Package doesn't exist as parameter
UserData:
Fn::Sub:
- "yum install ${myPackage} ${Package}"
-
myPackage: !Ref httpdPackage