Skip to content
Russell Keane
Main Navigation HomePosts

Appearance

Sidebar Navigation

2025

February (1)

Dynamically setting prev and next links in Vitepress

2019

November (1)

CloudFormation template failing to deploy

2018

March (1)

Subst'ing a drive in Windows 7 / 10

January (1)

Groovy - unable to resolve class

2017

October (2)

Reordering pages in LIFERAY forms

Spring / ZUUL - Failed to introspect annotated methods

June (1)

Sourcetree stuck on POST (chunked)

March (1)

Turning off Windows 10 ads

2016

December (1)

Failure to install / update ruby gems

July (2)

PostgreSQL - Casting integer to interval

piggly trace- invalid multibyte escape

June (1)

Jenkins stuck on "Retrieving Git references..."

March (1)

Jenkins & Groovy - accessing build parameters

2015

November (2)

Creating a Jenkins slave as a Windows service

Why Jenkins?

On this page

The Problem ​

While attempting to deploy a CloudFormation template from the console, I was greeted by a rather strange error message:

CloudFormation Error

And, for the purposes of searchability:

shell
S3 error: Access Denied For more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html

This was after choosing to update a stack by selecting "Replace current template" (1), choosing to "Upload a template file" (2), then choosing the template file (3) and then clicking "Next" (4).

CloudFormation Update

This was also the case when trying to update the stack from the command line but that gave an even more cryptic error message:

shell
> aws cloudformation deploy --stack-name some-stack --template-file some-template.yaml

'NoneType' object has no attribute 'get'

The Solution ​

As is usually the way, this was a simple one. The template file was empty. A case of not hitting the save button.

But from a bit of poking around, you may also be presented with this error in the case that the template is malformed. I therefore thought it worth mentioning...

HTH

Pager
Previous pageSubst'ing a drive in Windows 7 / 10
Next pageDynamically setting prev and next links in Vitepress

All views expressed are my own

Copyright © 2015-present Russell Keane