Check whether deployed in cloud
I have a python program running in a Docker container. My authentication method depends on whether the container is deployed in GCP or not. Ideally I’d have a function like this:
I have a python program running in a Docker container. My authentication method depends on whether the container is deployed in GCP or not. Ideally I’d have a function like this: