Skip to content

Instantly share code, notes, and snippets.

@Arunmainthan
Arunmainthan / template.json
Created January 3, 2020 13:09 — forked from mlabouardy/template.json
EC2 Instance with IAM Role using CloudFormation
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "Attach IAM Role to an EC2",
"Parameters" : {
"KeyName" : {
"Description" : "EC2 Instance SSH Key",
"Type" : "AWS::EC2::KeyPair::KeyName"
},
"InstanceType" : {
"Description" : "EC2 instance specs configuration",