[chef] aws_elastic_ip MissingParameter error


Chronological Thread 
  • From: Kevin Harvey < >
  • To:
  • Subject: [chef] aws_elastic_ip MissingParameter error
  • Date: Wed, 30 Nov 2011 17:18:06 -0500

Anyone here know about the aws cookbook? I've set it up just as described here: https://github.com/opscode/cookbooks/tree/master/aws I'm using a new recipe in my app's own cookbook to set up an elastic ip, like so:

include_recipe "aws"

aws = data_bag_item("aws", "main")
ip_info = data_bag_item("aws", "project_load_balancer_production")

aws_elastic_ip "project_load_balancer_production" do
  aws_access_key aws['aws_access_key_id']
  aws_secret_access_key aws['aws_secret_access_key']
  ip ip_info['public_ip']
  action :associate
end

And I'm getting the same error described in this ticket: http://tickets.opscode.com/browse/COOK-845?page=com.atlassian.streams.streams-jira-plugin%3Aactivity-stream-issue-tab#issue-tabs

FATAL: RightAws::AwsError: aws_elastic_ip[umbuc_load_balancer_production] (caramel::elastic_ip line 15) had an error: MissingParameter: Either public IP or allocation id must be specified

I get the same error if I enter all the data manually.

--
Kevin Harvey
Web Developer
615-686-8238
" target="_blank">




Archive powered by MHonArc 2.6.16.

§