GoogleCloudPlatform / GoogleCloudPlatform/agent-starter-pack

support env vars from .env files it in agent engine py deployment

Open
#966 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.6k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

The current deployment process relies exclusively on the --set-env-vars flag within our Makefile. This approach is cumbersome when managing multiple variables and makes it difficult to maintain separate configurations for different environments, leading to potential configuration errors and decreased developer productivity.

support for loading environment variables directly from .env files during deployment process.

Benefits
Eliminates the need to manually pass lengthy strings of variables in the terminal.
Environment Segregation: Simplifies the management of environment-specific configurations (e.g., dev, staging, prod) by using distinct .env files.
Maintainability: Centralizes configuration, making it easier to track and update variable sets.

Contributor guide

Open the contributing guide

Research direction

Start with the deployment targets and existing --set-env-vars handling in the Makefile. Determine how deployment currently receives variables and define the .env loading behavior, including separate environment files; done means deployment can use those files without manually passing the full variable string.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.