InsufficientCapabilities on AWS
Posted on November 19, 2015 (Last modified on March 9, 2022) • 1 min read • 105 wordsNew project. I can play around as much as I want, as long as on day X I am done.
Really frightening, and really cool.
Anyway, first operation: Create a bunch of S3 buckets and IAM roles to interface with them. Which is kinda not-so-easy.
Beacause when you create IAM capabilities with cloudformation, you get this error:
{
"CapabilitiesReason": "The following resource(s) require capabilities: [AWS::IAM::AccessKey, AWS::IAM::User]",
"Capabilities": [
"CAPABILITY_IAM"
],
"Parameters": []
}
… which is a fancy way of saying “do this”:
# aws cloudformation create-stack \
--template-url file://env.json
--capabilities CAPABILITY_IAM
… which you don’t really find easily with google. Or everybody knows, but me. Gnaah.