Open jkirkpatrick opened 2 years ago
Hey @jkirkpatrick 👋 Thank you for taking the time to raise this! It looks like the provider supports setting payload_format_version
to 2.0
, so I suspect the error message that you're receiving is coming from the AWS API response. So that we have all of the necessary information in order to look into this, can you supply (redacted as needed) debug logs as well?
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
Hey sorry to revive this old thread but was a solution ever found for this? I'm seeing the same thing with the exact same setup... does AWS just not support payload v2.0 for websocket apis?
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.2.2
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Payload format version should be 2.0 - not default 1.0
Actual Behavior
Console error; integration payload format version is not changed
Steps to Reproduce
statusCode 200
for websocket support)ingetration_uri
(var.ondefault_invoke_arn
in the example code)terraform apply && terraform deploy
aws_apigatewayv2_integration.wss_ondefault_integration.payload_format_version
from"1.0"
to"2.0"
after initial deploymentterraform apply && terraform deploy
Important Factoids
payload_format_version = 2.0
References
Documentation indicates support for
payload_format_version
1.0 or 2.00000