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

Error: Cannot find a resource for app_name #2

Closed
greggilbert opened this issue Dec 20, 2013 · 3 comments
Closed

Error: Cannot find a resource for app_name #2

greggilbert opened this issue Dec 20, 2013 · 3 comments

Comments

@greggilbert
Copy link

I've got everything set up according to your spec, but when I run the following command:

aws --region='us-east-1' opsworks create-deployment --stack-id="STACKID" --app-id="APPID"
--instance-ids='["INSTANCEID"]' --command='{"Name": "deploy"}'

After the deployment starts, I get the following error:

FATAL: NameError: ruby_block[Compile Custom OpsWorks Run List]
(opsworks_custom_cookbooks::execute line 3) had an error:
NameError: Cannot find a resource for app_name on amazon version 2013.09

Any idea why? I tried removing the phpap:: and mysql:: calls and it works fine.

@aporat
Copy link
Owner

aporat commented Dec 21, 2013

Hi.

Looks like the latest amazon linux ami contains php55 packages, which breaks some receipts in this cookbook..
http://aws.amazon.com/amazon-linux-ami/2013.09-release-notes/

@polds
Copy link

polds commented Mar 20, 2014

This issue still is occurring do you know the fix?

@aporat
Copy link
Owner

aporat commented Apr 7, 2014

i think it's the result of not adding an app to your layer. I also updated the cookbooks to support chef 11.10, so make sure to pick this version when you create your layer

@aporat aporat closed this as completed Apr 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants