chef-boneyard / chef-provisioning-aws

AWS driver and resources for Chef that uses the AWS SDK
Apache License 2.0
142 stars 122 forks source link

-1 Chef server for AWS INFRASTRUCTURE provisioning I'm using aws cook book in chef and I'm adding vpc creation: my_vpc = aws_vpc 'my_vpc' do cidr_block '10.0.0.0/24' main_routes '0.0.0.0/0' => :internet_gateway internet_gateway true`enter code here` end my_sg = aws_security_group 'my_sg' do vpc lazy { my_vpc.aws_object.id } inbound_rules '0.0.0.0/0' => [ 22, 80 ] end my_subnet = aws_subnet 'my_subnet' do vpc lazy { my_vpc.aws_object.id } cidr_block '10.0.0.0/24' availability_zone 'eu-west-1a' map_public_ip_on_launch true end machine 'my_machine' do machine_options( lazy do { bootstrap_options: { subnet_id: my_subnet.aws_object.id, security_group_ids: [my_sg.aws_object.id] } } end ) end I'm experiencing "undefined method" error NoMethodError undefined method `aws_vpc' for cookbook: chef-aws, recipe: default :Chef::Recipe #584

Open Tamilvananb opened 4 years ago

Tamilvananb commented 4 years ago

Description

Gem Version

Platform Version

Tell us which Operating System distribution and version you arerunning.

Replication Case