Hi,
Apigee X
I am using KVM API as mention in https://github.com/apigee/devrel/tree/main/references/kvm-admin-api and according to recently release (2nd of June 2022)
I don't have any issue in creating KVM or KVM entries. But when I try to update existing entries in KVM using POST method I am getting below Error.
CURL:
Solved! Go to Solution.
Hi
I developed a small shell script to create/update KVM map and entries from a JSON file (similarly to Terraform): https://github.com/arnaduga/apigee-tooling, folder kvm-terraforming
As you noticed, the current API does not allow updates (PATCH/PUT). The script will then delete an existing key prior to recreate it.
Script's limit: if a key is not described anymore in the JSON (previously declared), it will not be deleted. That would be an enhancement to do.
I hope this help, even if does not avoid the risk you mentioned...
Hi
I developed a small shell script to create/update KVM map and entries from a JSON file (similarly to Terraform): https://github.com/arnaduga/apigee-tooling, folder kvm-terraforming
As you noticed, the current API does not allow updates (PATCH/PUT). The script will then delete an existing key prior to recreate it.
Script's limit: if a key is not described anymore in the JSON (previously declared), it will not be deleted. That would be an enhancement to do.
I hope this help, even if does not avoid the risk you mentioned...