For my ansible playbooks I use dynamic invenotory gcp_compute. But I don't want define projectID and region in this file, I want read it from environment variables.
In ansible-playbook I can use lookup('env', 'FOO_BAR'), and it works. But in invetory - do not.
This guide says, that is possible to use some variables. I tryed it - it works, but there are not variables for project and region. (I also tryed use somethink like GCP_PROJECT or GCP_PROJECT_ID, but this is not work).