https://pulumi.com logo
#general
Title
# general
s

square-coat-62279

12/23/2021, 3:16 PM
hi all, I was trying to create IAP brand and client, strangely, the first attempt creating the brand actually throws an error saying the Support Email was invalid; on running pulumi up again, it then shows the entity has already exists with unconfiguredapp@google.com as the support Email. I retrieve the brand details using gcloud CLI and hard code it in my code and tried to create an IAP client using the brand ID, it shows the following error:
Copy code
error: 1 error occurred:
        * Error creating Client: googleapi: Error 400: Precondition check failed.
I was running pulumi on my local, did I miss anything?
c

cold-night-79049

01/03/2022, 1:33 PM
I’m also trying to use pulumi to set up IAP the error you encountered is probably because your brand is set up as public https://cloud.google.com/iap/docs/programmatic-oauth-clients#branding you cannot use the api to create an oauth client if your brand is public for me changing the brand to internal solve this issue
5 Views