awslabs / dynamodb-cross-region-library

A library to facilitate cross-region replication with Amazon DynamoDB Streams.
Apache License 2.0
275 stars 98 forks source link

Elastic Beanstalk set health to Red #21

Closed mvrogowski closed 8 years ago

mvrogowski commented 8 years ago

Just after create the stack, the Elastic Beanstalk set health to Red for the following (screenshot and logs attached):

InvalidParameterValue: Not a valid Join function: Each argument must resolve to a string: {"Ref":"AWSEBInstanceLaunchWaitHandle"}. Verify that your policies allow you to perform 'cloudformation:ListStackResources'

BundleLogs-1461367573393.zip

screen shot 2016-04-22 at 20 25 57
mvrogowski commented 8 years ago

I wasn't using the latest template. On its last update, "cloudformation:ListStackResources" was added to DynamoDBReplicationPolicy's actions.

mvrogowski commented 8 years ago

I'm using the latest template and the "InvalidParameterValue" problem exists no more. But, the RED state keeps on it.

jseed commented 8 years ago

I was having this same issue, but since the template update everything is green for me. Are you creating a brand new stack with this template, or updating your broken template?
Everything works for me when creating a new stack from scratch.

mvrogowski commented 8 years ago

I am creating a new stack using my fixed template.

mvrogowski commented 8 years ago

Worker informs its own "Green Health" putting an 1 to ElasticBeanstalk/SQSD. I am blocking every piece of stack to put metric data to CloudWatch. That's why it always on RED state.