amazon-web-servicesamazon-elastic-beanstalkebextensions

updating beanstalk elastic load balancer via ebextension


been trying to to apply an update of health check path from "/" to "/pogi" via elastic beanstalk ebextension however no changes happening using these approach:

Resources:
  AWSEBLoadBalancer:
    Type: "AWS::ElasticLoadBalancing::LoadBalancer"
    Properties:
      HealthCheck:
        HealthyThreshold: 3
        Interval: 30
        Target: HTTPS:443/pogi
        Timeout: 5
        UnhealthyThreshold: 5

I even tried this one too:

option_settings:
  - namespace: aws:elb:loadbalancer
    option_name: LoadBalancerHTTPSPort
    value: "443"
  - namespace: aws:elasticbeanstalk:application
    option_name: Application Healthcheck URL
    value: "/pogi"

may I ask for your help and advise on anything I missed here?


Solution

  • may I ask for your help and advise on anything I missed here?

    This could be due to precedence of config options. .ebextentions have low precedence, so if you set these settings using any other method (manually, aws cli, or used saved configurations), the .ebextentions will be ignored.