Skip to content

apigee: make field required on google_apigee_env_keystore#16962

Open
xuchenma wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
xuchenma:421271139
Open

apigee: make field required on google_apigee_env_keystore#16962
xuchenma wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
xuchenma:421271139

Conversation

@xuchenma
Copy link
Copy Markdown
Contributor

@xuchenma xuchenma commented Apr 5, 2026

Description

google_apigee_env_keystore had name marked as Optional in the YAML schema, but the Apigee API requires it — omitting it returns 400: keystore ID must be set. This change marks name as required: true.

Fixes: hashicorp/terraform-provider-google#23084

Tests

--- PASS: TestAccApigeeEnvKeystore_apigeeEnvironmentKeystoreTestExample (1241.91s)
PASS
apigee: fixed `google_apigee_env_keystore` to require the `name` field which is mandatory in the Apigee API

The Apigee API requires a keystore name (ID) to be set when creating a
keystore. If omitted, the API returns:
  400: keystore ID must be set

The Terraform schema incorrectly marked 'name' as Optional. This change
makes it Required, matching the API contract.

Fixes: hashicorp/terraform-provider-google#23084
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Apr 5, 2026
@github-actions github-actions bot requested a review from slevenick April 5, 2026 15:02
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 5, 2026

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@xuchenma xuchenma changed the title apigee: make field required on apigee: make field required on google_apigee_env_keystore Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-approval Pull requests that need reviewer's approval to run presubmit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

google_apigee_env_keystore

2 participants