I'm using terraform 0.7.6.
The new load balancer get successfully provisioned for the beanstalk environment.
setting {
namespace = "aws:elasticbeanstalk:environment"
name = "LoadBalancerType"
value = "application"
}
But none of these settings seem to propagate from my terraform config to the ALB itself.
setting {
namespace = "aws:elb:policies"
name = "Stickiness Policy"
value = "${var.elb_stickiness}"
}
setting {
namespace = "aws:elasticbeanstalk:application"
name = "Application Healthcheck URL"
value = "${var.health_check_url}"
}
I find myself having to manually configure the ALB after it's initially provisioned, because the configuration I have specified via these settings don't take.
I'm guessing this may not be a terraform issue, but does anyone else have any example configs to share? I'd like to fully configure the ALB if possible directly from the beanstalk provisioning script. My use cases don't involve any fancy path-based routing to other resources, all just goes straight into beanstalk.
Thanks,
Stu