Open focode opened 5 years ago
Is there any news on this issue. I'm also trying to set up ELB as a health check type and found the same issue.
I'm running into the same issue. Also it looks like HealthCheckGracePeriod
is not supported:
Error: ConfigurationValidationException: Configuration validation exception: Invalid option specification (Namespace: 'aws::autoScaling::autoScalingGroup', OptionName: 'HealthCheckGracePeriod'): Unknown configuration setting.
using the following config:
resource "aws_elastic_beanstalk_configuration_template" "eb_configuration_template" {
[...]
setting {
namespace = "aws::autoScaling::autoScalingGroup"
name = "HealthCheckType"
value = "ELB"
}
setting {
namespace = "aws::autoScaling::autoScalingGroup"
name = "HealthCheckGracePeriod"
value = 120
}
}
Any update on this issue ?
I am also getting same error while trying to add HealthCheckGracePeriod for autoscaling group using this configuration :
{
namespace : "aws:autoscaling:AutoScalingGroup",
optionName : "HealthCheckType",
value : `ELB`
},
{
namespace : "aws:autoscaling:AutoScalingGroup",
optionName : "HealthCheckGracePeriod",
value : 180
}
Any update on this issue?
The same for me. Any updates?
I am trying to change the default healtchecktype from ec2 to elb and I am getting this error: aws_elastic_beanstalk_environment.default: ConfigurationValidationException: Configuration validation exception: Invalid option specification (Namespace: 'aws:autoscaling:autoscalinggroup', OptionName: 'HealthCheckType'): Unknown configuration setting. status code: 400, request id: a6fbdb1e-197f-47cf-a7db-3e8672ae80b2 Under
resource "aws_elastic_beanstalk_environment" "default"
below is the setting that I am using:I got the valuse from aws documentation : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html
It is also supported by aws cloud formation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-healthchecktype