Skip to content

Instantly share code, notes, and snippets.

@ivus
ivus / cloudformation-template_vpc-iam.json
Created February 29, 2020 01:04 — forked from ianblenke/cloudformation-template_vpc-iam.json
AWS CloudFormation Template example for VPC with IAM Instance Profile
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "MyApp VPC",
"Parameters" : {
"Project" : {
"Description" : "Project name to tag resources with",
"Type" : "String",
"MinLength": "1",
"MaxLength": "16",
"AllowedPattern" : "[a-z]*",
@ivus
ivus / template.json
Created February 29, 2020 01:04 — 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",