Debian Codegraph @

ansible_collections/amazon/aws/tests/integration/targets/cloudformation/files/cf_template.json

raw
1 {
2 "AWSTemplateFormatVersion" : "2010-09-09",
3
4 "Description" : "Create an Amazon EC2 instance.",
5
6 "Parameters" : {
7 "InstanceType" : {
8 "Description" : "EC2 instance type",
9 "Type" : "String",
10 "Default" : "t3.nano",
11 "AllowedValues" : [ "t3.micro", "t3.nano"]
12 },
13 "ImageId" : {
14 "Type" : "String"
15 },
16 "SubnetId" : {
17 "Type" : "String"
18 }
19 },
20
21 "Resources" : {
22 "EC2Instance" : {
23 "Type" : "AWS::EC2::Instance",
24 "Properties" : {
25 "InstanceType" : { "Ref" : "InstanceType" },
26 "ImageId" : { "Ref" : "ImageId" },
27 "SubnetId": { "Ref" : "SubnetId" }
28 }
29 }
30 },
31
32 "Outputs" : {
33 "InstanceId" : {
34 "Value" : { "Ref" : "EC2Instance" }
35 }
36 }
37 }