scastria / terraform-provider-apigee

Mozilla Public License 2.0
21 stars 19 forks source link

pass service account to deployment creation if set #38

Closed rjw57 closed 2 years ago

rjw57 commented 2 years ago

When deploying a proxy or shared flow with a Google service account set, the "serviceAccount" query parameter must be set when creating the deployment initially. Failure to set the parameter causes the deployment to be created without a service account identity necessitating a second terraform apply to fix.

Fix this by providing the query parameter when creating a new deployment. The query string remains empty if no service account is being used.

rjw57 commented 2 years ago

Usually, I don't manage to add three bugs along with one feature :S.