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
Description
Gem Version
Platform Version
Tell us which Operating System distribution and version you arerunning.
Replication Case
The text was updated successfully, but these errors were encountered: