Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Hello World Sparta Provision
$ mage provision
INFO[0000] ════════════════════════════════════════════════
INFO[0000] ╔═╗╔═╗╔═╗╦═╗╔╦╗╔═╗ Version : 1.5.0
INFO[0000] ╚═╗╠═╝╠═╣╠╦╝ ║ ╠═╣ SHA : bdfb9d6
INFO[0000] ╚═╝╩ ╩ ╩╩╚═ ╩ ╩ ╩ Go : go1.11.1
INFO[0000] ════════════════════════════════════════════════
INFO[0000] Service: MyHelloWorldStack-mweagle LinkFlags= Option=provision UTC="2018-10-21T03:59:20Z"
INFO[0000] ════════════════════════════════════════════════
INFO[0000] Using `git` SHA for StampedBuildID Command="git rev-parse HEAD" SHA=b114e329ed37b532e1f7d2e727aa8211d9d5889c
INFO[0000] Provisioning service BuildID=b114e329ed37b532e1f7d2e727aa8211d9d5889c CodePipelineTrigger= InPlaceUpdates=false NOOP=false Tags=
INFO[0000] Verifying IAM Lambda execution roles
INFO[0000] IAM roles verified Count=1
INFO[0000] Checking S3 versioning Bucket=weagle VersioningEnabled=true
INFO[0000] Checking S3 region Bucket=weagle Region=us-west-2
INFO[0000] Running `go generate`
INFO[0000] Compiling binary Name=Sparta.lambda.amd64
INFO[0002] Creating code ZIP archive for upload TempName=./.sparta/MyHelloWorldStack_mweagle-code.zip
INFO[0002] Lambda code archive size Size="17 MB"
INFO[0002] Uploading local file to S3 Bucket=weagle Key=MyHelloWorldStack-mweagle/MyHelloWorldStack_mweagle-code.zip Path=./.sparta/MyHelloWorldStack_mweagle-code.zip Size="17 MB"
INFO[0010] Uploading local file to S3 Bucket=weagle Key=MyHelloWorldStack-mweagle/MyHelloWorldStack_mweagle-cftemplate.json Path=./.sparta/MyHelloWorldStack_mweagle-cftemplate.json Size="2.2 kB"
INFO[0011] Issued CreateChangeSet request StackName=MyHelloWorldStack-mweagle
INFO[0016] Issued ExecuteChangeSet request StackName=MyHelloWorldStack-mweagle
INFO[0029] CloudFormation Metrics ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
INFO[0029] Operation duration Duration=7.98s Resource=MyHelloWorldStack-mweagle Type="AWS::CloudFormation::Stack"
INFO[0029] Operation duration Duration=1.42s Resource=HelloWorldLambda7d01d27fe422d278bcc652b4a989528718eb88af Type="AWS::Lambda::Function"
INFO[0029] Stack provisioned CreationTime="2018-10-02 03:14:59.127 +0000 UTC" StackId="arn:aws:cloudformation:us-west-2:123412341234:stack/MyHelloWorldStack-mweagle/5817dff0-c5f1-11e8-b43a-503ac9841a99" StackName=MyHelloWorldStack-mweagle
INFO[0029] ════════════════════════════════════════════════
INFO[0029] MyHelloWorldStack-mweagle Summary
INFO[0029] ════════════════════════════════════════════════
INFO[0029] Verifying IAM roles Duration (s)=0
INFO[0029] Verifying AWS preconditions Duration (s)=0
INFO[0029] Creating code bundle Duration (s)=2
INFO[0029] Uploading code Duration (s)=8
INFO[0029] Ensuring CloudFormation stack Duration (s)=18
INFO[0029] Total elapsed time Duration (s)=29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.