Closed eatwithforks closed 4 years ago
Description:
In my .sfn.rb, I have set an option capabilities
.sfn.rb
Configuration.new do options do capabilities ['CAPABILITY_IAM'] end end
When I executed rake sfn:plan, I get the following error message showing I'm missing the capabilities option even though I have it set in .sfn.rb
rake sfn:plan
[ERROR]: Bad Request - InsufficientCapabilitiesException: Requires capabilities : [CAPABILITY_IAM]
This is because plan.rb did not capture any options set in .sfn.rb so that's why I get the bad request with missing capabilities error.
plan.rb
Fix is to capture options defined in .sfn.rb and sfn:plan works.
sfn:plan
/cc @chrisroberts
Description:
In my
.sfn.rb
, I have set an option capabilitiesWhen I executed
rake sfn:plan
, I get the following error message showing I'm missing the capabilities option even though I have it set in.sfn.rb
This is because
plan.rb
did not capture any options set in.sfn.rb
so that's why I get the bad request with missing capabilities error.Fix is to capture options defined in
.sfn.rb
andsfn:plan
works./cc @chrisroberts