- Newest
- Most votes
- Most comments
The issue you're encountering is related to how you're specifying the health check path in your Elastic Beanstalk environment configuration.
Looking at your error message, it appears that the namespace "aws:elasticbeanstalk:environment:process:default" with the option "HealthCheckPath" is not being recognized correctly.
There are a few approaches you can try instead:
- Use the "Application Healthcheck URL" option in the "aws:elasticbeanstalk:application" namespace:
setting {
namespace = "aws:elasticbeanstalk:application"
name = "Application Healthcheck URL"
value = "/actuator/health"
}
- If you're specifically trying to configure a health check for an environment process, make sure you're using the correct namespace format. The namespace should include the process name after "process:". For example:
setting {
namespace = "aws:elasticbeanstalk:environment:process:default"
name = "HealthCheckPath"
value = "/actuator/health"
}
If you're still encountering issues, it might be related to the platform version you're using, as some configuration options are platform-specific. You may need to check if your specific Elastic Beanstalk platform supports this configuration option.
Also, ensure that your environment is configured as a load-balanced environment, as some health check settings are only applicable to load-balanced environments.
Sources
Setting configuration options during environment creation - AWS Elastic Beanstalk
Setting configuration options before environment creation - AWS Elastic Beanstalk
Enabling Elastic Beanstalk enhanced health reporting - AWS Elastic Beanstalk
answered a year ago
Relevant content
asked 4 years ago
asked 3 years ago
asked 2 years ago
