We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I am not able to create a volume from an existing snapshot using aws_ebs_volume
aws_ebs_volume "#{node['amd_infra']['stack_name']}_db_vol" do snapshot_id 'snap-fbd219dc' aws_tags 'attached_to' => "#{node['amd_infra']['stack_name']}_db", 'backup' => 'true', 'stack' => node['amd_infra']['stack_name'] availability_zone node['amd_infra']['db']['ebs']['additional_vol']['availability_zone'] size node['amd_infra']['db']['ebs']['additional_vol']['size'] volume_type node['amd_infra']['db']['ebs']['additional_vol']['type'] iops node['amd_infra']['db']['ebs']['additional_vol']['iops'] encrypted node['amd_infra']['db']['ebs']['additional_vol']['encrypted'] machine "#{node['amd_infra']['stack_name']}_db" device '/dev/xvdf' end
ERROR: undefined method `snapshot_id' for Chef::Resource::AwsEbsVolume
But I can see 'snapshot_id' in https://github.com/chef/chef-provisioning-aws/blob/master/lib/chef/provider/aws_ebs_volume.rb#L111
Gem version: chef-provisioning-aws (2.1.0)
Any help is appreciated !
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I am not able to create a volume from an existing snapshot using aws_ebs_volume
aws_ebs_volume "#{node['amd_infra']['stack_name']}_db_vol" do
snapshot_id 'snap-fbd219dc'
aws_tags 'attached_to' => "#{node['amd_infra']['stack_name']}_db", 'backup' => 'true', 'stack' => node['amd_infra']['stack_name']
availability_zone node['amd_infra']['db']['ebs']['additional_vol']['availability_zone']
size node['amd_infra']['db']['ebs']['additional_vol']['size']
volume_type node['amd_infra']['db']['ebs']['additional_vol']['type']
iops node['amd_infra']['db']['ebs']['additional_vol']['iops']
encrypted node['amd_infra']['db']['ebs']['additional_vol']['encrypted']
machine "#{node['amd_infra']['stack_name']}_db"
device '/dev/xvdf'
end
ERROR: undefined method `snapshot_id' for Chef::Resource::AwsEbsVolume
But I can see 'snapshot_id' in https://github.com/chef/chef-provisioning-aws/blob/master/lib/chef/provider/aws_ebs_volume.rb#L111
Gem version: chef-provisioning-aws (2.1.0)
Any help is appreciated !
The text was updated successfully, but these errors were encountered: