You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1: # This cookbook is no longer needed to load the aws-sdk and can be removed
2: # from node run_lists without any impact
3:
4: Chef::Log.warn('The default aws recipe does nothing. See the readme for information on using the aws resources')
5:
6: require 'aws-sdk-core'
7:
8>> aws_vpc 'my_vpc' do
9: cidr_block '10.0.0.0/24'
10: # main_routes '0.0.0.0/0' => :internet_gateway
11: internet_gateway true
12: end
13:
14:
Running handlers:
[2019-11-27T17:26:11+05:30] ERROR: Running exception handlers
Running handlers complete
[2019-11-27T17:26:11+05:30] ERROR: Exception handlers complete
Chef Infra Client failed. 0 resources updated in 24 seconds
[2019-11-27T17:26:11+05:30] FATAL: Stacktrace dumped to /opt/chef-repo/.chef/local-mode-cache/cache/chef-stacktrace.out
[2019-11-27T17:26:11+05:30] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2019-11-27T17:26:11+05:30] FATAL: NoMethodError: undefined method `aws_vpc' for cookbook: aws, recipe: default :Chef::Recipe
The text was updated successfully, but these errors were encountered:
Cookbook Trace:
/opt/chef-repo/.chef/local-mode-cache/cache/cookbooks/aws/recipes/default.rb:8:in `from_file'
Relevant File Content:
/opt/chef-repo/.chef/local-mode-cache/cache/cookbooks/aws/recipes/default.rb:
1: # This cookbook is no longer needed to load the aws-sdk and can be removed
2: # from node run_lists without any impact
3:
4: Chef::Log.warn('The default aws recipe does nothing. See the readme for information on using the aws resources')
5:
6: require 'aws-sdk-core'
7:
8>> aws_vpc 'my_vpc' do
9: cidr_block '10.0.0.0/24'
10: # main_routes '0.0.0.0/0' => :internet_gateway
11: internet_gateway true
12: end
13:
14:
System Info:
chef_version=15.5.16
platform=centos
platform_version=7.6.1810
ruby=ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
program_name=/usr/bin/chef-client
executable=/opt/chef-workstation/bin/chef-client
Running handlers:
[2019-11-27T17:26:11+05:30] ERROR: Running exception handlers
Running handlers complete
[2019-11-27T17:26:11+05:30] ERROR: Exception handlers complete
Chef Infra Client failed. 0 resources updated in 24 seconds
[2019-11-27T17:26:11+05:30] FATAL: Stacktrace dumped to /opt/chef-repo/.chef/local-mode-cache/cache/chef-stacktrace.out
[2019-11-27T17:26:11+05:30] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2019-11-27T17:26:11+05:30] FATAL: NoMethodError: undefined method `aws_vpc' for cookbook: aws, recipe: default :Chef::Recipe
The text was updated successfully, but these errors were encountered: