Skip to content

docs(workflows): add warning about source_contents becoming required in 8.0.0#18367

Open
kdhoka wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
kdhoka:workflows-source-warning
Open

docs(workflows): add warning about source_contents becoming required in 8.0.0#18367
kdhoka wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
kdhoka:workflows-source-warning

Conversation

@kdhoka

@kdhoka kdhoka commented Jul 23, 2026

Copy link
Copy Markdown

Add a documentation warning to the source_contents field on the google_workflows_workflow resource.

Currently, the field is marked as Optional in the provider schema, but the underlying Google Workflows API strictly requires source contents to be present upon resource creation. As a result, omitting this field leads to runtime API errors today.

To align the Terraform with API reality, this field will become Required in the upcoming 8.0.0 major release. This warning prepares users for that upcoming breaking change so they can adjust their pipelines accordingly.

This PR was created following https://googlecloudplatform.github.io/magic-modules/breaking-changes/make-a-breaking-change/#in-the-800-major-release

Part of hashicorp/terraform-provider-google#28234


    docs(workflows): added warning to `source_contents` field on `google_workflows_workflow` noting that it will become required in version 8.0.0

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Jul 23, 2026
@github-actions
github-actions Bot requested a review from ScottSuarez July 23, 2026 15:53
@github-actions

Copy link
Copy Markdown

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

@ScottSuarez, 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.

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.

2 participants