Mastercard / terraform-provider-restapi

A terraform provider to manage objects in a RESTful API
Other
785 stars 215 forks source link

How to update predefined resources (already created by default)? #240

Open matteoredaelli opened 9 months ago

matteoredaelli commented 9 months ago

Hello

This plugin is wonderful. I've been starting using it for managing the setup of a QLik Saas tenant.

How could I update a resource that is already created (by default by the saas provider): it is already created and you can only update it.

Example (https://qlik.dev/apis/rest/licenses/#%23%2Fentries%2Fv1%2Flicenses%2Fsettings-put)

curl "https://your-tenant.us.qlikcloud.com/api/v1/licenses/settings" \
 -X PUT \
 -H "Authorization: Bearer <API-key>" \
 -H "Content-type: application/json" \
 -d '{"autoAssignAnalyzer":true,"autoAssignProfessional":false}' 

Thanks in advance Matteo

matteoredaelli commented 9 months ago

not possibile without an ID