-
-
Save henrjk/ced5e3a46dc3d9c015cd to your computer and use it in GitHub Desktop.
cloud template editor sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Resources": { | |
"vpc3d2adc54": { | |
"Type": "AWS::EC2::VPC", | |
"Properties": { | |
"CidrBlock": "172.31.0.0/16", | |
"InstanceTenancy": "default", | |
"EnableDnsSupport": "true", | |
"EnableDnsHostnames": "true" | |
} | |
}, | |
"subneta6e913cf": { | |
"Type": "AWS::EC2::Subnet", | |
"Properties": { | |
"CidrBlock": "172.31.16.0/20", | |
"AvailabilityZone": "eu-central-1a", | |
"VpcId": { | |
"Ref": "vpc3d2adc54" | |
} | |
} | |
}, | |
"subnet65a5bf1d": { | |
"Type": "AWS::EC2::Subnet", | |
"Properties": { | |
"CidrBlock": "172.31.0.0/20", | |
"AvailabilityZone": "eu-central-1b", | |
"VpcId": { | |
"Ref": "vpc3d2adc54" | |
} | |
} | |
}, | |
"igw4727cc2e": { | |
"Type": "AWS::EC2::InternetGateway", | |
"Properties": { | |
} | |
}, | |
"dopt0cc62565": { | |
"Type": "AWS::EC2::DHCPOptions", | |
"Properties": { | |
"DomainName": "eu-central-1.compute.internal", | |
"DomainNameServers": [ | |
"AmazonProvidedDNS" | |
] | |
} | |
}, | |
"aclb5b364dc": { | |
"Type": "AWS::EC2::NetworkAcl", | |
"Properties": { | |
"VpcId": "vpc-70f43e19" | |
} | |
}, | |
"acl501dec39": { | |
"Type": "AWS::EC2::NetworkAcl", | |
"Properties": { | |
"VpcId": { | |
"Ref": "vpc3d2adc54" | |
} | |
} | |
}, | |
"rtb2a15c243": { | |
"Type": "AWS::EC2::RouteTable", | |
"Properties": { | |
"VpcId": "vpc-70f43e19" | |
} | |
}, | |
"rtb4671802f": { | |
"Type": "AWS::EC2::RouteTable", | |
"Properties": { | |
"VpcId": { | |
"Ref": "vpc3d2adc54" | |
} | |
} | |
}, | |
"instancei0e48fbcf": { | |
"Type": "AWS::EC2::Instance", | |
"Properties": { | |
"DisableApiTerminationd": "sdalse", | |
"InstanceInitiatedShutdownBehavior": "stop", | |
"IamInstanceProfile": "arn:aws:iam::924960933961:instance-profile/s3-aws-known-host-init", | |
"ImageId": "ami-94a29f89", | |
"InstanceTyp": "t2.micro", | |
"KeyName": "JetzaDE-2", | |
"Monitoring": "false", | |
"Tags": [ | |
{ | |
"Key": "JTZA-HOST-SSH-KEY", | |
"Value": "04:ef:a5:57:6f:9d:57:16:fe:a5:0a:da:25:0a:39:94" | |
}, | |
{ | |
"Key": "Notes", | |
"Value": "Upgraded manually to docker 1.6 see notes from 5/3/2015" | |
}, | |
{ | |
"Key": "Name", | |
"Value": "instance JTZA-20150424-1118 of docker-base-image-20150330-0829 (ami-94a29f89)" | |
}, | |
{ | |
"Key": "JTZA-DOCKER-BUILD", | |
"Value": "docker-jetza-187.1.tar.gz" | |
}, | |
{ | |
"Key": "PROJECT", | |
"Value": "dojomail.net/Jetza.JTZA" | |
}, | |
{ | |
"Key": "INIT-SCRIPT-RESULT", | |
"Value": "OK" | |
} | |
], | |
"NetworkInterfaces": [ | |
{ | |
"DeleteOnTermination": "true", | |
"DeviceIndex": 0, | |
"SubnetId": { | |
"Ref": "subnet65a5bf1d" | |
}, | |
"PrivateIpAddresses": [ | |
{ | |
"PrivateIpAddress": "172.31.6.192", | |
"Primary": "true" | |
} | |
], | |
"GroupSet": [ | |
{ | |
"Ref": "sgFromVogelsberg" | |
} | |
], | |
"AssociatePublicIpAddress": "true" | |
} | |
] | |
} | |
}, | |
"s3buildssamplegpgs3shippablesdojomailnet": { | |
"Type": "AWS::S3::Bucket", | |
"Properties": { | |
"AccessControl": "Private", | |
"VersioningConfiguration": { | |
"Status": "Suspended" | |
} | |
} | |
}, | |
"s3buildsshippablesjetzadojomailnet": { | |
"Type": "AWS::S3::Bucket", | |
"Properties": { | |
"AccessControl": "Private", | |
"VersioningConfiguration": { | |
"Status": "Suspended" | |
} | |
} | |
}, | |
"s3eugermanyfra": { | |
"Type": "AWS::S3::Bucket", | |
"Properties": { | |
"AccessControl": "Private", | |
"VersioningConfiguration": { | |
"Status": "Suspended" | |
} | |
} | |
}, | |
"sgdefault": { | |
"Type": "AWS::EC2::SecurityGroup", | |
"Properties": { | |
"GroupDescription": "default VPC security group", | |
"VpcId": "vpc-70f43e19" | |
} | |
}, | |
"sgFromVogelsberg": { | |
"Type": "AWS::EC2::SecurityGroup", | |
"Properties": { | |
"GroupDescription": "SSH in from home IP only and Internet out", | |
"VpcId": { | |
"Ref": "vpc3d2adc54" | |
} | |
} | |
}, | |
"dbsgdefault": { | |
"Type": "AWS::RDS::DBSecurityGroup", | |
"Properties": { | |
"GroupDescription": "default" | |
} | |
}, | |
"acl1": { | |
"Type": "AWS::EC2::NetworkAclEntry", | |
"Properties": { | |
"CidrBlock": "0.0.0.0/0", | |
"Egress": "true", | |
"Protocol": "-1", | |
"RuleAction": "allow", | |
"RuleNumber": "100", | |
"NetworkAclId": { | |
"Ref": "aclb5b364dc" | |
} | |
} | |
}, | |
"acl2": { | |
"Type": "AWS::EC2::NetworkAclEntry", | |
"Properties": { | |
"CidrBlock": "0.0.0.0/0", | |
"Protocol": "-1", | |
"RuleAction": "allow", | |
"RuleNumber": "100", | |
"NetworkAclId": { | |
"Ref": "aclb5b364dc" | |
} | |
} | |
}, | |
"acl3": { | |
"Type": "AWS::EC2::NetworkAclEntry", | |
"Properties": { | |
"CidrBlock": "0.0.0.0/0", | |
"Egress": "true", | |
"Protocol": "-1", | |
"RuleAction": "allow", | |
"RuleNumber": "100", | |
"NetworkAclId": { | |
"Ref": "acl501dec39" | |
} | |
} | |
}, | |
"acl4": { | |
"Type": "AWS::EC2::NetworkAclEntry", | |
"Properties": { | |
"CidrBlock": "0.0.0.0/0", | |
"Protocol": "-1", | |
"RuleAction": "allow", | |
"RuleNumber": "100", | |
"NetworkAclId": { | |
"Ref": "acl501dec39" | |
} | |
} | |
}, | |
"subnetacl1": { | |
"Type": "AWS::EC2::SubnetNetworkAclAssociation", | |
"Properties": { | |
"NetworkAclId": { | |
"Ref": "acl501dec39" | |
}, | |
"SubnetId": { | |
"Ref": "subneta6e913cf" | |
} | |
} | |
}, | |
"subnetacl2": { | |
"Type": "AWS::EC2::SubnetNetworkAclAssociation", | |
"Properties": { | |
"NetworkAclId": { | |
"Ref": "acl501dec39" | |
}, | |
"SubnetId": { | |
"Ref": "subnet65a5bf1d" | |
} | |
} | |
}, | |
"gw1": { | |
"Type": "AWS::EC2::VPCGatewayAttachment", | |
"Properties": { | |
"VpcId": { | |
"Ref": "vpc3d2adc54" | |
}, | |
"InternetGatewayId": { | |
"Ref": "igw4727cc2e" | |
} | |
} | |
}, | |
"route1": { | |
"Type": "AWS::EC2::Route", | |
"Properties": { | |
"DestinationCidrBlock": "0.0.0.0/0", | |
"RouteTableId": { | |
"Ref": "rtb4671802f" | |
}, | |
"GatewayId": { | |
"Ref": "igw4727cc2e" | |
} | |
}, | |
"DependsOn": "gw1" | |
}, | |
"dchpassoc1": { | |
"Type": "AWS::EC2::VPCDHCPOptionsAssociation", | |
"Properties": { | |
"VpcId": { | |
"Ref": "vpc3d2adc54" | |
}, | |
"DhcpOptionsId": { | |
"Ref": "dopt0cc62565" | |
} | |
} | |
}, | |
"ingress1": { | |
"Type": "AWS::EC2::SecurityGroupIngress", | |
"Properties": { | |
"GroupId": { | |
"Ref": "sgdefault" | |
}, | |
"IpProtocol": "-1", | |
"SourceSecurityGroupId": { | |
"Ref": "sgdefault" | |
}, | |
"SourceSecurityGroupOwnerId": "924960933961" | |
} | |
}, | |
"ingress2": { | |
"Type": "AWS::EC2::SecurityGroupIngress", | |
"Properties": { | |
"GroupId": { | |
"Ref": "sgFromVogelsberg" | |
}, | |
"IpProtocol": "tcp", | |
"FromPort": "22", | |
"ToPort": "22", | |
"CidrIp": "91.67.182.242/32" | |
} | |
}, | |
"ingress3": { | |
"Type": "AWS::EC2::SecurityGroupIngress", | |
"Properties": { | |
"GroupId": { | |
"Ref": "sgFromVogelsberg" | |
}, | |
"IpProtocol": "tcp", | |
"FromPort": "80", | |
"ToPort": "80", | |
"CidrIp": "91.67.182.242/32" | |
} | |
}, | |
"ingress4": { | |
"Type": "AWS::EC2::SecurityGroupIngress", | |
"Properties": { | |
"GroupId": { | |
"Ref": "sgdefault" | |
}, | |
"IpProtocol": "-1", | |
"SourceSecurityGroupId": { | |
"Ref": "sgdefault" | |
}, | |
"SourceSecurityGroupOwnerId": "924960933961" | |
} | |
}, | |
"egress1": { | |
"Type": "AWS::EC2::SecurityGroupEgress", | |
"Properties": { | |
"GroupId": { | |
"Ref": "sgdefault" | |
}, | |
"IpProtocol": "-1", | |
"CidrIp": "0.0.0.0/0" | |
} | |
}, | |
"egress2": { | |
"Type": "AWS::EC2::SecurityGroupEgress", | |
"Properties": { | |
"GroupId": { | |
"Ref": "sgFromVogelsberg" | |
}, | |
"IpProtocol": "-1", | |
"CidrIp": "0.0.0.0/0" | |
} | |
}, | |
"egress3": { | |
"Type": "AWS::EC2::SecurityGroupEgress", | |
"Properties": { | |
"GroupId": { | |
"Ref": "sgdefault" | |
}, | |
"IpProtocol": "-1", | |
"CidrIp": "0.0.0.0/0" | |
} | |
} | |
}, | |
"Description": "Test with CloudFormer" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eclipse.buildId=4.3.0.I20130605-2000 | |
java.version=1.7.0_45 | |
java.vendor=Oracle Corporation | |
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US | |
Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/dev/.eclipse_keyring -showlocation | |
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/dev/.eclipse_keyring -showlocation | |
Error | |
Wed Jun 17 18:52:30 CEST 2015 | |
org.eclipse.e4.core.di.InjectionException: org.eclipse.core.commands.ExecutionException: While executing the action, an exception occurred | |
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63) | |
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243) | |
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224) | |
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) | |
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167) | |
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499) | |
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) | |
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213) | |
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:285) | |
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:504) | |
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:555) | |
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:376) | |
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:322) | |
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:84) | |
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) | |
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1080) | |
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4165) | |
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) | |
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) | |
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) | |
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1503) | |
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1499) | |
at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496) | |
at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060) | |
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5648) | |
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) | |
at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68) | |
at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594) | |
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5558) | |
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) | |
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221) | |
at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2104) | |
at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2318) | |
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5620) | |
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) | |
at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5057) | |
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5206) | |
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) | |
at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128) | |
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3648) | |
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) | |
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) | |
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) | |
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138) | |
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610) | |
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) | |
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) | |
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) | |
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) | |
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) | |
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) | |
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) | |
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) | |
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) | |
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) | |
at org.eclipse.equinox.launcher.Main.run(Main.java:1450) | |
Caused by: org.eclipse.core.commands.ExecutionException: While executing the action, an exception occurred | |
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:124) | |
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) | |
... 60 more | |
Caused by: java.lang.NullPointerException | |
at com.amazonaws.eclipse.cloudformation.templates.editor.TemplateContentAssistProcessor.provideRootLevelAutoCompletions(TemplateContentAssistProcessor.java:308) | |
at com.amazonaws.eclipse.cloudformation.templates.editor.TemplateContentAssistProcessor.computeCompletionProposals(TemplateContentAssistProcessor.java:361) | |
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1839) | |
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:566) | |
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:563) | |
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$14.run(CompletionProposalPopup.java:1569) | |
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) | |
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.incrementalComplete(CompletionProposalPopup.java:1563) | |
at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1664) | |
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:932) | |
at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82) | |
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) | |
at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80) | |
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) | |
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119) | |
... 66 more | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment