terraform-docs-samples icon indicating copy to clipboard operation
terraform-docs-samples copied to clipboard

Create main.tf

Open davide-zanon opened this issue 2 months ago • 3 comments

Description

This pull request creates a method to disallow users from using the alpha API for Compute Engine.

Checklist

Readiness

  • [x] Yes, merge this PR after it is approved
  • [ ] No, don't merge this PR after it is approved

Style

Testing

Intended location

  • [x] Yes, this sample will be (or already is) included on cloud.google.com Location(s): https://cloud.google.com/compute/docs/reference/rest/alpha

  • [ ] No, this sample won't be included on cloud.google.com Reason:

API enablement

  • [ ] If the sample needs an API enabled to pass testing, I have added the service to the Test setup file

Review

  • [ ] If this sample adds a new directory, I have added codeowners to the CODEOWNERS file

davide-zanon avatar Oct 30 '25 16:10 davide-zanon

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • [ ] Refresh this comment

snippet-bot[bot] avatar Oct 30 '25 16:10 snippet-bot[bot]

LGTM

hp1100 avatar Oct 30 '25 17:10 hp1100

As in a similar pull request, users might encounter issues due to an organisation policy preventing the CI project from disabling preview features. This is an expected behaviour, and we can therefore disable tests.

For context, see https://github.com/terraform-google-modules/terraform-docs-samples/pull/906#issuecomment-3460382279.

davide-zanon avatar Oct 30 '25 21:10 davide-zanon

Let's first try /gcbrun to confirm it's a CI issue before adding the testskip

glasnt avatar Nov 04 '25 20:11 glasnt

/gcbrun

glasnt avatar Nov 04 '25 21:11 glasnt