Matthew (Matt) Jeffryes

Results 248 comments of Matthew (Matt) Jeffryes

Rereading this, it kind of seems like this resource should maybe have `replace_on_changes=["body"]` set by default? It seems like the upstream implementation does an update that acts kind of like...

Giving this another read through, the behavior actually seems to be coming from the upstream provider. Probably the TF provider should be treating the body as a field that forces...

Looks like this is intentional from the upstream per the comment above and on the linked issue.

@stooj That's an autogenerated constructor example, it just fills in `0` for number typed fields, `"string"` for string typed fields, `false` for boolean typed fields. It's also several steps removed...

Thanks for letting us know @Thanawat1997! This appears to be a bug in the Azure API spec/docs that this provider is generated from. (You can see Azure's [example](https://learn.microsoft.com/en-us/rest/api/virtualnetwork/private-endpoints/create-or-update?view=rest-virtualnetwork-2024-05-01&tabs=HTTP) is missing...

hi @varma797 Are you still having trouble with creating this resource with azure-native? As @lunaris points out, the 500 error code potentially suggests an error in the Azure service rather...

thanks @varma797. Extracting the failing request from the logs `PUT https://management.azure.com/subscriptions/25e26a73-9c1a-49dd-93a9-c036aca67dbf/resourceGroups/t8-diy-dev-rg-01/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-nshdgt?api-version=2023-10-01-preview` `{"location":"West Europe","sku":{"name":"Standard","tier":"Standard"}}` Looks like there's no extra information in the response, just an empty body with 500 status code...

Thanks for the update @varma797. Unfortunately, it's somewhat common for the Azure API specs (used to generate this provider) to fail to mark a required field.

I'm afraid I wasn't able to reproduce this on my machine. I'm running on Darwin 14.7 targeting a [panubo/docker-sshd](https://github.com/panubo/docker-sshd?tab=readme-ov-file) ssh server running in docker. Here's the program I used: ```typescript...