Skip to content

Conversation

@Aaron-9900
Copy link
Member

@Aaron-9900 Aaron-9900 commented Jan 13, 2026

What does this PR do? What is the motivation?

Adds documentation on terraform and API for deployment gates

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

Additional notes

@github-actions
Copy link
Contributor

Preview links (active after the build_preview check completes)

Modified Files

@Aaron-9900 Aaron-9900 marked this pull request as ready for review January 13, 2026 10:45
@Aaron-9900 Aaron-9900 requested a review from a team as a code owner January 13, 2026 10:45
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c0d755a27b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

# Create new deployment_gate resource

resource "datadog_deployment_gate" "foo" {
dry_run = "false"

Choose a reason for hiding this comment

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

P2 Badge Use boolean for dry_run in Terraform example

The example sets dry_run to the string "false", but the Terraform provider schema for boolean attributes expects an unquoted boolean. With the current snippet, terraform plan/apply will fail with a type error (string provided where bool is required), so readers who copy/paste will get an invalid configuration. Use dry_run = false instead to match the expected type.

Useful? React with 👍 / 👎.

Copy link
Member Author

Choose a reason for hiding this comment

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

Both work!

@joepeeples joepeeples self-assigned this Jan 13, 2026
Copy link
Contributor

@joepeeples joepeeples left a comment

Choose a reason for hiding this comment

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

A few suggested edits for style and readability, thanks!

@Aaron-9900 Aaron-9900 merged commit a901d23 into master Jan 14, 2026
16 checks passed
@Aaron-9900 Aaron-9900 deleted the aaron.hoffman/SDCD-2163_add-docs-on-terraform branch January 14, 2026 10:03
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.

3 participants