Skip to content

Instantly share code, notes, and snippets.

@tlester
Created August 29, 2018 14:45
Show Gist options
  • Save tlester/3a7fc6945a9f3270292bbbdea88d48ec to your computer and use it in GitHub Desktop.
Save tlester/3a7fc6945a9f3270292bbbdea88d48ec to your computer and use it in GitHub Desktop.
volume fail
volumes:
- device_name: /dev/sda
ebs.volume_type: standard
ebs.volume_size: 100
ebs.delete_on_termination: yes
- device_name: /dev/sdf
ebs.volume_type: standard
ebs.volume_size: 400
ebs.delete_on_termination: yes
Error:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Unknown parameter in BlockDeviceMappings[1]: "Ebs.deleteOnTermination", must be one of: DeviceName, VirtualName, Ebs, NoDevice
fatal: [localhost]: FAILED! => {"boto3_version": "1.7.82", "botocore_version": "1.10.82", "changed": false, "msg": "Failed to create new EC2 instance: Parameter validation failed:\nUnknown parameter in BlockDeviceMappings[0]: \"Ebs.volumeSize\", must be one of: DeviceName, VirtualName, Ebs, NoDevice\nUnknown parameter in BlockDeviceMappings[0]: \"Ebs.volumeType\", must be one of: DeviceName, VirtualName, Ebs, NoDevice\nUnknown parameter in BlockDeviceMappings[0]: \"Ebs.deleteOnTermination\", must be one of: DeviceName, VirtualName, Ebs, NoDevice\nUnknown parameter in BlockDeviceMappings[1]: \"Ebs.volumeSize\", must be one of: DeviceName, VirtualName, Ebs, NoDevice\nUnknown parameter in BlockDeviceMappings[1]: \"Ebs.volumeType\", must be one of: DeviceName, VirtualName, Ebs, NoDevice\nUnknown parameter in BlockDeviceMappings[1]: \"Ebs.deleteOnTermination\", must be one of: DeviceName, VirtualName, Ebs, NoDevice"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment