Sha256: 1a431b35682b0e4fe6220ea3b87dfb1c99f4f34f2230d4c72526738305dc3b63

Contents?: true

Size: 1.16 KB

Versions: 6

Compression:

Stored size: 1.16 KB

Contents

{

"Resources": {

"BastionBox" : {
  "Type" : "AWS::EC2::Instance",
  "DependsOn": "BastionBoxEth0IPAttachment",

  "Metadata": {
    "AWS::CloudFormation::Init": {}
  },

  "Properties" : {
    "InstanceType": "m3.large",
    "ImageId": {"Ref": "InstanceAMIVar"},
    "SourceDestCheck": "false",

    "NetworkInterfaces": [{
      "NetworkInterfaceId": {"Ref": "BastionBoxEth0"},
      "DeviceIndex": "0",
      "DeleteOnTermination": "false"
    }],

    "IamInstanceProfile" : {"Ref": "NATRoleProfile"},
    "KeyName": {"Ref": "IAMKeypairNameVar"},

    "UserData": {"Fn::Base64": {"Fn::Join": ["", [
      "#!/bin/bash\n",
      "export CFN_REGION='", {"Ref": "AWS::Region"}, "'\n",
      "export CFN_STACK_NAME='", {"Ref": "AWS::StackName"}, "'\n",
      "export CFN_INSTANCE_LOGICAL_NAME='BastionBox'\n",
      "export CFN_INSTANCE_HOSTNAME='", {"Fn::FindInMap": ["StackZoneRecords", "VPN", "DNSName"]}, "'\n",
      "export NAT_PRIVATE_ROUTE_TABLE='", {"Ref": "PrivateRouteTable"}, "'\n",
      {"Ref": "UserDataEnvironmentVar"}, "\n",
      {"Ref": "CommonRoleScriptVar"}, "\n",
      {"Ref": "NATRoleScriptVar"}, "\n",
      {"Ref": "VPNRoleScriptVar"}, "\n"
    ]]}}
  }
}

}

}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stacco-0.1.53 ./priv/layers/bastion.json
stacco-0.1.52 ./priv/layers/bastion.json
stacco-0.1.50 ./priv/layers/bastion.json
stacco-0.1.49 ./priv/layers/bastion.json
stacco-0.1.48 ./priv/layers/bastion.json
stacco-0.1.47 ./priv/layers/bastion.json