sudo87 commented on issue #269:
URL:
https://github.com/apache/cloudstack-terraform-provider/issues/269#issuecomment-5251616036
@Diskoteket I think this is related to the HTTP method being used.
CloudStack limits user data to 4096 bytes over GET, while POST allows up to
1 MB (bounded by `vm.userdata.max.length`). The limit is based on the actual
HTTP method, so increasing `vm.userdata.max.length` won't help if the request
is still using GET.
Could you check if `http_get_only = true` is set in your `cloudstack {}`
provider block, or if `CLOUDSTACK_HTTP_GET_ONLY=true` is set in the
environment? That would force calls like
`deployVirtualMachine`/`registerUserData` over GET and explain the error.
Also, could you confirm which provider version you're using
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]