0

I am testing Google IAP on an Appengine project.
This project consit of 3 services (formerly known as modules).
Each one represent an environment (default is dev, staging and prod).

My problem is that only one resource is listed in the IAP menu:
The one corresponding to the defaulf version of the default service.

How can I consider other services/version when using Google IAP ?

Thx!

Noam Hacker
  • 4,671
  • 7
  • 34
  • 55
chaiyachaiya
  • 2,617
  • 18
  • 19
  • do you have multiple projects for each of the environments ? – Kalana Demel Apr 04 '17 at 09:08
  • I have only one project. An environmnet is represented by a service (module). Am I clear ? – chaiyachaiya Apr 04 '17 at 13:27
  • 1
    Maybe yet another reason for which environments should be done at the app/project level, not at the service/module one? See also http://stackoverflow.com/questions/40192557/continuous-integration-deployment-delivery-on-google-app-engine-too-risky and http://stackoverflow.com/questions/40988295/how-to-use-custom-domain-name-in-google-app-engine-with-different-versions – Dan Cornilescu Apr 04 '17 at 13:43
  • Yeah, the more I read about it, the more I regret this architecture... – chaiyachaiya Apr 04 '17 at 15:22

1 Answers1

2

Unfortunately, you can't set access permissions at the service level. IAP only applies at the GAE App level and or GCE backend service.

From a best practices perspective, Dan is correct. You generally want to have separate projects for each environment.