[ https://issues.apache.org/jira/browse/JCLOUDS-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15422372#comment-15422372 ]
Felix Otto commented on JCLOUDS-1132: ------------------------------------- [~nacx] I already override the methods so that a 1 or 0 will be used instead of false or true. The request is now like [~tusa.mihai] described it, but I get the same error message. I think the problems come from aws itself. Please check the http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html and the http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html > Amazon AWS - Create Volume - query params reported as unrecognized > ------------------------------------------------------------------ > > Key: JCLOUDS-1132 > URL: https://issues.apache.org/jira/browse/JCLOUDS-1132 > Project: jclouds > Issue Type: Bug > Components: jclouds-compute > Affects Versions: 1.9.0, 1.9.2 > Environment: Amazon AWS EC2 management console > Reporter: Tusa Mihail Cristian > > Let say that I want to create a Volume that is encrypted. So, I set the > encrypted on "true"... in request query params apear "&Encrypted=true". In > this case the error that I got is: > <Response><Errors><Error><Code>UnknownParameter</Code><Message>The parameter > Encrypted is not > recognized</Message></Error></Errors><RequestID>c874434a-b00e-425d-baf4-18087441603a</RequestID></Response> > > instead it should be: "&Encrypted=1" as it is shown in Amazon docs: > http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html > in Example/Sample request. The problems are also related with Volume Type. If > not specified than creates a standard volume but if anything specified (any > of valid Values: standard | io1 | gp2 | sc1 | st1 ) the same error with > unrecognized param is received. -- This message was sent by Atlassian JIRA (v6.3.4#6332)