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

-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 trueenter 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 this issue Nov 28, 2019 · 0 comments

Comments

@Tamilvananb
Copy link

Description

Gem Version

Platform Version

Tell us which Operating System distribution and version you arerunning.

Replication Case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant