Im having a flask application which needs to be deployed to aws and gcp.And based on the cloud platform I need to changed certain environment.Is there any way to identify in which cloud my python script is running ? I have tried
import socket
socket.gethostname()
But that is too generic.Is there anyway to create a validation to identify the cloud platform with python ?