Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS::AutoScaling::AutoScalingGroup is not working #9296

Open
focode opened this issue Jul 10, 2019 · 5 comments
Open

AWS::AutoScaling::AutoScalingGroup is not working #9296

focode opened this issue Jul 10, 2019 · 5 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/elasticbeanstalk Issues and PRs that pertain to the elasticbeanstalk service.

Comments

@focode
Copy link

focode commented Jul 10, 2019

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:

    setting {
    namespace = "aws:autoscaling:autoscalinggroup"
    name      = "HealthCheckType"
    value     = "ELB"
  }

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

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Jul 10, 2019
@aeschright aeschright added the service/elasticbeanstalk Issues and PRs that pertain to the elasticbeanstalk service. label Jul 11, 2019
@khartahk
Copy link

khartahk commented Oct 14, 2020

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.

@Maxwell2022
Copy link

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
  }
}

@breathingdust breathingdust added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Sep 17, 2021
@Satyanandana
Copy link

Any update on this issue ?

@opswami
Copy link

opswami commented Sep 30, 2022

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?

@kayamuskas
Copy link

The same for me. Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/elasticbeanstalk Issues and PRs that pertain to the elasticbeanstalk service.
Projects
None yet
Development

No branches or pull requests

8 participants