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