Setting Project ID using ENV variable

I’ve noticed that while the Cloud API Token can be specified using an ENV variable, the Cloud Project ID value cannot… This seems to be an oversight.

Am I missing something?

Thanks in advance.

HI @PaulMEdwards, Welcome to the community forum :tada:,

The env option you are looking for is K6_CLOUD_PROJECT_ID. Did you not find it under Cloud tests from the CLI, it likely needs to be mentioned in more places, or are you saying it doesn’t work?

1 Like