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

option_settings crashes elastic beanstalk template #5741

Closed
maewolfsky opened this issue Mar 21, 2016 · 3 comments · Fixed by #5756
Closed

option_settings crashes elastic beanstalk template #5741

maewolfsky opened this issue Mar 21, 2016 · 3 comments · Fixed by #5756

Comments

@maewolfsky
Copy link

With Terraform v0.6.13 a terraform plan crashes with the following config

resource "aws_elastic_beanstalk_application" "test" {
  name = "test_name"
  description = "test_desc"

}

resource "aws_elastic_beanstalk_configuration_template" "dev" {
  name = "dev"
  description = ""
  application = "${aws_elastic_beanstalk_application.test.name}"

  option_settings {
     namespace = "aws:ec2:vpc"
     option_name = "VPCId"
     value = "vpc-a1c540c4"
  }

crash.log

If I remove the option_settings part, it completes correctly:

+ aws_elastic_beanstalk_application.test
    description: "" => "test_desc"
    name:        "" => "test_name"

+ aws_elastic_beanstalk_configuration_template.dev
    application: "" => "test_name"
    name:        "" => "dev"
@catsby
Copy link
Contributor

catsby commented Mar 21, 2016

Hey @mbaxa – thanks for the detailed info! I patched this in #5756, however you need know some things:

  • I renamed the option_settings config to just setting. This matches Beanstalk Environments, and currently Beanstalk Configuration Template will crash on the use of option_settings anyway...
  • In my testing, I found that you need to also include an option setting for Subnets, in the event you don't already have that in your config.

Let me know if you have any other questions! Thanks for reporting this 😄

@maewolfsky
Copy link
Author

Wow, thanks for fixing so quickly! 👍 Yeah, I had a full suite of settings that I was trying to move into a template; I just cut it down to one to make the bug report cleaner. 😄

@ghost
Copy link

ghost commented Apr 27, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants