Skip to content

Use ALLOYDB_POSTGRES_PROJECT to set a default value for list_projects #47

@kurtisvg

Description

@kurtisvg

Problem

Currently when you call the list_clusters tool, it asks for a project name (even if it's already specified in a env variable).

Image

Suggested Solution

We can update the list_projects tool so that it takes in a default project:

  • If the project isn't specified, we make the parameter required.
  • If the project is specified, we make it an optional parameter with the project as the default.

e.g. config:

tools:
  list_clusters:
    kind: alloydb-list-clusters
    source: alloydb-admin-source
    defaultProject: ${ALLOYDB_POSTGRES_PROJECT:""}

Metadata

Metadata

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request'Nice-to-have' improvement, new feature or different behavior or design.
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions