GoogleCloudPlatform / GoogleCloudPlatform/cloud-code-intellij

Feature Request - Add ability to set environment variables and command-line flags for Cloud SQL Auth Proxy in Cloud Code

Open
#3,139 2 comments 1 reaction 0 assignees View on GitHub
area/databases
Dominant language
No language data
Stars
325
Forks
64
PR merge metrics
No merged PRs in 30d

Description

### Description:
Currently, the Cloud Code plugin for Cloud SQL Auth Proxy does not provide a way to pass environment variables or command-line flags to the `cloud-sql-proxy` command. This makes it difficult to customize the behavior of cloud-sql-proxy for different use cases. For example, when using automatic authentication with IAM credentials, the `--auto-iam-authn` flags cannot be set.

## Expected Behavior:
Cloud Code should provide an option to set environment variables and command-line flags for the cloud-sql-proxy command when using Cloud SQL Auth Proxy.

## Actual Behavior:
Cloud Code does not provide an option to set environment variables or command-line flags for the cloud-sql-proxy command when using Cloud SQL Auth Proxy.

## Environment:
Cloud Code version: 23.5.1-222-IB.1
Cloud SDK:
- Are you allowing the plugin to manage the Cloud SDK: YES (Actually tried with both settings, the issue is there anyway)
- Version of the Cloud SDK: 430.0.0

IDE: PyCharm 2023.1.1 (Professional Edition)
Cloud SQL Auth Proxy version installed by Cloud Code: 2.0.0-preview.3
Cloud SQL Auth Proxy version installed manually: 2.2.0
OS: Linux (Manjaro Linux, kernel 6.3)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.