You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stage file bigger then 250MB should work with remote state AzureRM (storage account)
Actual Behavior
Error: Failed to save state│ │ Error saving state: blobs.Client#PutBlockBlob: Failure responding to request: StatusCode=413 -- Original Error: autorest/azure: Service returned an error. Status=413 Code="RequestBodyTooLarge" Message="The request body is too large and exceeds the maximum permissible│ limit.\nRequestId:c3a3d901-901e-002f-4957-42b6f2000000\nTime:2024-11-29T12:06:10.0500344Z"╵╷│ Error: Failed to persist state to backend│ │ The error shown above has prevented Terraform from writing the updated state to the configured backend. To allow for recovery, the state has been written to the file "errored.tfstate" in the current working directory.│ │ Running "terraform apply" again at this point will create a forked state, making it harder to recover.│ │ To retry writing this state, use the following command:│ terraform state push errored.tfstate
Steps to Reproduce
Create a file with size 1MB:
yes "This is some meaningful content for encoding." | head -c 750000 | base64 | head -c 1048576 > file.txt
Thank you for reporting this! The azurerm backend is managed by the Azure Provider team at HashiCorp, and this issue has been added to their triage queue. Thanks again!
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/madejusz/048078a9f2725186c30f6157d36f5fb9
Expected Behavior
Stage file bigger then 250MB should work with remote state AzureRM (storage account)
Actual Behavior
Steps to Reproduce
Create a file with size 1MB:
yes "This is some meaningful content for encoding." | head -c 750000 | base64 | head -c 1048576 > file.txt
Use file as input for:
$ terraform apply -auto-approve
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: