GoogleCloudPlatform / terraform-validator

Terraform Validator is not an officially supported Google product; it is a library for conversion of Terraform plan data to CAI Assets. If you have been using terraform-validator directly in the past, we recommend migrating to `gcloud beta terraform vet`.
https://cloud.google.com/docs/terraform/policy-validation
Apache License 2.0
437 stars 93 forks source link

Add support for Apigee Sharedflow #1436

Closed modular-magician closed 1 year ago

modular-magician commented 1 year ago

If this PR is for Terraform, I acknowledge that I have:

Release Note Template for Downstream PRs (will be copied)

apigee: Added support for resource apigee sharedflow
https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.sharedflows

Using handwritten approach as create API requires a file to be uploaded as `octet-stream` and mmv1 does not support this pattern

Using direct api call instead of golang library because golang library for this api is broken see: b/265084250

Other relevant background/bugs:
Apigee Sharedflow get method response missing `latestRevisionId` field b/266146203
(recently fixed) Apigee SharedFlow Create Documentation issue b/256739387

Derived from https://github.com/GoogleCloudPlatform/magic-modules/pull/7202