Hi, i have been working on deploy Apigee X by using Terraform. In one side, i have deployed all the part related to the creation of the apigee organization using the google provider (https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/apigee_organization) and the modules of FAST.
Now, i want to terraform the process of creating API Proxies, Create API product, etc. There are some community providers like the next one (https://registry.terraform.io/providers/scastria/apigee/latest/docs) . I dont understand how to setup the access properly to this provider. It asks for an user and a password. Is not possible to use an impersonate service account? I have read about the KVM in Apigee but i really dont found how to set up it correctly.
Hello @Tropicar is there any specific reason why you wanted to deploy your Apigee resources via Terraform? Terraform is an IaC provider, and for more config/API-specific entity deployments we recommend the following:
Let me know if you have any questions and/or concerns - thanks!
There are some clients which are not so open to add maven plugin to their dev process. So the idea was looking for an alternative for the deployment of proxies,API products, etc that is the reason I thought in the apigee provider.
About using apigeecli for the deployment process , there is some kind of example to have It as reference ?
The complete docs are here - https://github.com/apigee/apigeecli/blob/main/docs/apigeecli.md
Here's an example to upload an API proxy and deploy it to env dev (running this from the api proxy dir with apiproxy subdir):
API_NAME=TradingAPI-v1
PROJECT_ID=apigee-test74
APIGEE_ENV=dev
# create and deploy to $APIGEE_ENV
apigeecli apis create bundle -f apiproxy --name $API_NAME -o $PROJECT_ID -e $APIGEE_ENV --ovr -t $(gcloud auth print-access-token)
Besides what Tyler noted, we also have a helpful "follow along" video here: https://www.youtube.com/watch?v=OLAKv1omLHg
Let us know if there is anything specific (besides what is noted above) that you would need help with, thanks!