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 Opsworks Stack - Unable to create Linux Chef 12 stacks #5958

Closed
smckim opened this issue Mar 31, 2016 · 7 comments
Closed

AWS Opsworks Stack - Unable to create Linux Chef 12 stacks #5958

smckim opened this issue Mar 31, 2016 · 7 comments

Comments

@smckim
Copy link

smckim commented Mar 31, 2016

Similar issue to #5905
Opsworks stacks are initially created with a lot of default values, and then updated afterwards with values specified in the configuration file. Stacks are initially created with the default configuration_manager_version of Chef 11.4, which cannot be upgraded in Opsworks to Chef 12, causing terraform apply to fail.

@sharmaansh21
Copy link
Contributor

@apparentlymart
Copy link
Contributor

This is also related to #5569

@tommyorndorff
Copy link

Is there any way to work around this? I need to port over chef 12 opsworks stacks from cloudformation to terraform using amazon linux 2013.03.

@smckim
Copy link
Author

smckim commented Apr 6, 2016

My work around was to create the stack in the console first and then manually edit the tfstate file with the values from the stack I created (which matched the values I had in my aws_opsworks_stack resource configuration). Further updates on the stack work fine (layer creation, etc), it's just the initial creation of the stack with terraform that currently doesn't work.

@vinyar
Copy link

vinyar commented Apr 7, 2016

As a work around:
Since instances already come with chef 11.x you can add omnibus updated cookbook to your runlist and upgrade chef-client as part of the chef run
https://github.com/hw-cookbooks/omnibus_updater

@stack72
Copy link
Contributor

stack72 commented Apr 19, 2016

Closed with #6244

@stack72 stack72 closed this as completed Apr 19, 2016
@ghost
Copy link

ghost commented Apr 26, 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 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants