Skip to content

Conversation

fbtravi
Copy link
Contributor

@fbtravi fbtravi commented Aug 12, 2025

What
Add support for specifying an arbitrary API client identifier and version for google_cloud_run_v2_job resources.

Changes

Added client and client_version arguments to the google_cloud_run_v2_job resource in main.tf.

Introduced a new client variable (object) with optional name and version fields in variables.tf.

Updated default value for client to an empty object.

Why
This allows providing metadata for API client identification when creating or managing Cloud Run jobs, improving traceability and integration consistency.

@fbtravi fbtravi requested review from a team, anamer, ayushmjain, prabhu34 and q2w as code owners August 12, 2025 22:08
@fbtravi fbtravi changed the title Feat:add-client-variable-job-exec feat(job-exec): add client variable support Aug 12, 2025
Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @fbtravi! Can you also update docs with make generate_docs

@fbtravi
Copy link
Contributor Author

fbtravi commented Aug 25, 2025

Hey @bharathkkb ! On macOS I hit an error running the Docker command (Go runtime crash with generate_docs), probably related to the processor architecture (Apple Silicon vs amd64 emulation). So I generated the docs locally and merged the client variable manually into the file. Is that enough?

@fbtravi fbtravi requested review from a team as code owners September 23, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants