Creating Apigee Portals via Terraform

Hi all,
I am new to the whole Apigee thing and wondered if it is possible to create Portals via terraform (either a Terraform base resource/module or cli/SDK)? I’ve found references to a curl command calling ‘apigee.googleapis.com’ to create portals in Terraform’s ‘resource “null_resource”’ but this does not look particularly neat.

Many thanks in advance.

This is not possible for the integrated portal today, but can be done for Drupal or DIY portals, depending on technology used. Just reach out to discuss further..

Could you point me to the documentation on how to programmatically create or publish portals using either apigeecli or gcloud? Thanks!