-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
awaiting-feedbackBlocked on input from the authorBlocked on input from the authorkind/bugSome behavior is incorrect or out of specSome behavior is incorrect or out of spec
Description
Describe what happened
How to reproduce
- single-step API test with multipart/form-data manually with the datadog GUI ( with file upload !)
- import it to a pulumi stack
- run pulumi up
--> see error below
Sample program
Log output
Error:
- error updating synthetics API test from /api/v1/synthetics/tests/api/7z6-tpu-dcr: 400 Bad Request: {"errors":["'request' value '{'allow_insecure': True, 'body': '', 'bodyType': 'multipart/form-data', 'follow_redirects': False, 'headers': {'Authorization': '*** BPC_PROD_API_TETRLB_KEY }}', 'content-type': 'multipart/form-data; boundary="DatadogSyntheticsFiles"'}, 'httpVersion': 'any', 'method': 'POST', 'noSavingResponseBody': False, 'persistCookies': False, 'timeout': 0, 'url': '{{ BASEURL }}/namespaces/{{ NAMESPACE_ID }}/configs/{{ CONFIG_ID }}/files'}' is invalid"]}
Affected Resource(s)
No response
Output of pulumi about
Additional context
Datadog support wrote
However, when testing with Pulumi, both our team and Pulumi's engineers encountered the same issue you described, where
request_filewas not recognized. This issue requires further investigation.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
awaiting-feedbackBlocked on input from the authorBlocked on input from the authorkind/bugSome behavior is incorrect or out of specSome behavior is incorrect or out of spec