-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
storagegateway_gateway - error after apply was successful #19163
Comments
This seems to be addressed in the upcoming release by #19116 |
@cjbeckwith Thanks for raising this issue. |
Thanks all. Much appreciated... |
This is closed, but the issue persists with the aws provider reporting invalid operation for FILE_S3 gateway types, where previously plan/apply worked fine. |
Oh, I got a little ahead of myself, eh? Thanks @cjbeckwith ! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Running TFE
Terraform v0.14.10
Affected Resource(s)
aws_storagegateway_gateway for type FILE_S3
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
NOTE: This was deployed a few weeks ago without issue. Now that we are adding additional configuration to the workspace, this error occurred when we ran a plan on the workspace:
Error: error reading Storage Gateway Bandwidth rate limit: InvalidGatewayRequestException: This operation is not valid for the specified gateway.
{
RespMetadata: {
StatusCode: 400,
RequestID: "41581b23-fec2-4242-82e5-ccb916dfbd2a"
},
Error_: {
ErrorCode: "UnsupportedOperationForGatewayType"
},
Message_: "This operation is not valid for the specified gateway."
}
Debug Output
2021-04-29T19:03:00.874Z [INFO] plugin.terraform-provider-aws_v3.37.0_x5: 2021/04/29 19:03:00 [DEBUG] [aws-sdk-go] DEBUG: Response storagegateway/DescribeBandwidthRateLimit Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 400 Bad Request
Connection: close
Content-Length: 169
Content-Type: application/x-amz-json-1.1
Date: Thu, 29 Apr 2021 19:03:00 GMT
X-Amzn-Requestid: 2f856cb1-aa52-4d25-99bb-bea398b564d2
-----------------------------------------------------: timestamp=2021-04-29T19:03:00.874Z
2021-04-29T19:03:00.874Z [INFO] plugin.terraform-provider-aws_v3.37.0_x5: 2021/04/29 19:03:00 [DEBUG] [aws-sdk-go] {"type":"InvalidGatewayRequestException","error":{"errorCode":"UnsupportedOperationForGatewayType"},"message":"This operation is not valid for the specified gateway."}: timestamp=2021-04-29T19:03:00.874Z
2021-04-29T19:03:00.874Z [INFO] plugin.terraform-provider-aws_v3.37.0_x5: 2021/04/29 19:03:00 [DEBUG] [aws-sdk-go] DEBUG: Validate Response storagegateway/DescribeBandwidthRateLimit failed, attempt 0/25, error InvalidGatewayRequestException: This operation is not valid for the specified gateway.
{
RespMetadata: {
StatusCode: 400,
RequestID: "2f856cb1-aa52-4d25-99bb-bea398b564d2"
},
Error: {
ErrorCode: "UnsupportedOperationForGatewayType"
},
Message: "This operation is not valid for the specified gateway."
}: timestamp=2021-04-29T19:03:00.874Z
Expected Behavior
No changes so should have planned out with no changes.
Actual Behavior
Errored with the following:
Error: error reading Storage Gateway Bandwidth rate limit: InvalidGatewayRequestException: This operation is not valid for the specified gateway.
{
RespMetadata: {
StatusCode: 400,
RequestID: "41581b23-fec2-4242-82e5-ccb916dfbd2a"
},
Error_: {
ErrorCode: "UnsupportedOperationForGatewayType"
},
Message_: "This operation is not valid for the specified gateway."
}
Steps to Reproduce
Ran plan on the workspace
Important Factoids
Nothing out of the ordinary
The text was updated successfully, but these errors were encountered: