Skip to content

ces: fix app_version dependency in ces_deployment acceptance tests - #1389

Merged
modular-magician merged 1 commit into
terraform-google-modules:masterfrom
modular-magician:downstream-pr-bd4cab11e7e7e07fdd050dae6b01cb7e3566a2d9
Aug 4, 2026
Merged

ces: fix app_version dependency in ces_deployment acceptance tests#1389
modular-magician merged 1 commit into
terraform-google-modules:masterfrom
modular-magician:downstream-pr-bd4cab11e7e7e07fdd050dae6b01cb7e3566a2d9

Conversation

@modular-magician

Copy link
Copy Markdown
Collaborator

Fixes hardcoded app_version dependency in ces_deployment acceptance test sample templates (ces_deployment_basic.tf.tmpl, ces_deployment_full.tf.tmpl) and handwritten test (ces_deployment_test.go).
Previously, the tests used a static string placeholder that did not belong to the dynamically created google_ces_app.my-app resource, causing HTTP 400 errors. This change adds a google_ces_app_version resource to the test configurations and sets app_version to google_ces_app_version.my-app-version.id so that the full resource name is correctly referenced.

Fixes hashicorp/terraform-provider-google#28082
Fixes hashicorp/terraform-provider-google#28074
Fixes hashicorp/terraform-provider-google#28101

Derived from GoogleCloudPlatform/magic-modules#18501

…18501)

[upstream:bd4cab11e7e7e07fdd050dae6b01cb7e3566a2d9]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician
modular-magician merged commit 6d79995 into terraform-google-modules:master Aug 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant