-
Notifications
You must be signed in to change notification settings - Fork 377
AutoDetectingStackNameProvider Fails For Auto-Scaling Groups/ELB #50
Comments
@darylrobbins can you elaborate more "This exception should likely be swallowed up, allowing the name detector to move on to its fallback logic." what you mean with that ? |
is there at least any workaround for this problem? |
for me (I am not using CloudFormation) worked spring-boot property: cloud.aws.stack.auto = false |
@sodik82 You can also specify the stack name if your are using CloudFormation. We will have a investigation into this bug. |
I have tried that as well, but in such case I got exception saying that stack name was not found (that was quite acceptable since I don't use CloudFormation at all). But maybe we are talking about two different problems here:
however I got here since I get (at least very similar) exception with "default" spring boot autoconfiguration which was working as long I was on my local machine but not after deployment to AWS. can I help somehow with more details? |
@sodik82 is correct. My configuration was EC2 instance in an autoscaling group behind an ELB, managed by Elastic Beanstalk, which uses CloudFormation under the hood. |
@aemruli shall I create an extra ticket? |
Hi, I am getting the same error when deploying the Spring boot jar using Elastic Beanstalk but the same jar is working on local. |
There was an error with the auto configuration for the region therefore the stacks were not found. The merged #115 should solve that issue. Please reopen in case of any further error. |
… AnnotationDrivenQueueListenerBeanDefinitionParser for Amazon SQS creation. Added support for region and region-provider configuration in the amazon sqs client class. Resolves spring-attic#50
… AnnotationDrivenQueueListenerBeanDefinitionParser for Amazon SQS creation. Added support for region and region-provider configuration in the amazon sqs client class. Resolves spring-attic/spring-cloud-aws#50
Trying to determine the stack name for an instance fails when the instance is connected to the stack via an auto-scaling group as opposed to directly, resulting in an exception that fails the application loading. This exception should likely be swallowed up, allowing the name detector to move on to its fallback logic.
The text was updated successfully, but these errors were encountered: