Configuration validation exception: Invalid option - error

0

When I click on my environment in the web console, it now refuses to load and gives the message:

"A problem occurred while loading your page: Configuration validation exception: Invalid option specification (Namespace: 'aws:ec2:instances', OptionName: 'InstanceTypes'): Unknown configuration setting."

How does one recover from this? I can't even enter my configuration to fix the problem?

Same error when using the CLI to force the InstanceType:

aws elasticbeanstalk update-environment --environment-name "webapp-dev2-1" --option-settings "Namespace=aws:autoscaling:launchconfiguration,OptionName=InstanceType,Value=t3.medium"
An error occurred (ConfigurationValidationException) when calling the UpdateEnvironment operation: Configuration validation exception: Invalid option specification (Namespace: 'aws:ec2:instances', OptionName: 'InstanceTypes'): Unknown configuration setting.

Edited by: darrylC on Nov 19, 2019 10:48 AM

darrylC
asked 4 years ago1793 views
2 Answers
0

I'm getting the same issue. Yesterday, at 2019-11-18 23:50 PST, our CI process started getting this error when querying an Elastic Beanstalk application.

$ terraform version
Terraform v0.12.14
+ provider.archive v1.3.0
+ provider.aws v2.38.0
+ provider.local v1.4.0
+ provider.random v2.2.1
+ provider.twilio (unversioned)

Your version of Terraform is out of date! The latest version
is 0.12.16. You can update by downloading from https://www.terraform.io/downloads.html
$ terraform validate
Success! The configuration is valid.

$ terraform plan -out plan.txt
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

...

module.backend.aws_elastic_beanstalk_application_version.api_service: Refreshing state... [id= nnnn]
module.backend.aws_elastic_beanstalk_environment.api_service: Refreshing state... [id=e-nnnn]

Error: ConfigurationValidationException: Configuration validation exception: Invalid option specification (Namespace: 'aws:ec2:instances', OptionName: 'InstanceTypes'): Unknown configuration setting.
	status code: 400, request id: c00f9ba0-e3de-4b15-8a74-72faee57314e

Edited by: mleonhard on Nov 20, 2019 5:18 PM

answered 4 years ago
0

I filed AWS Support case 6607620201 about this.

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions