[datadog_service_account_application_key] Fix scoped key example#3832
Open
lot-koichi wants to merge 1 commit into
Open
[datadog_service_account_application_key] Fix scoped key example#3832lot-koichi wants to merge 1 commit into
lot-koichi wants to merge 1 commit into
Conversation
Contributor
|
DOCS-14577 created for review |
OliviaShoup
approved these changes
Jun 1, 2026
OliviaShoup
left a comment
There was a problem hiding this comment.
hey, thanks so much for the PR! we always appreciate when people help us update the documentation :)
fpighi
approved these changes
Jun 3, 2026
This comment has been minimized.
This comment has been minimized.
Member
|
@lot-koichi we require commits to be signed. Can you please make sure of that? Once done the PR will be merged. Thank you again. |
Co-Authored-By: Codex <noreply@anthropic.com>
5f2f068 to
4c96343
Compare
Author
@fpighi Thank you for comment. I signed the commit, please take a look! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This updates the
datadog_service_account_application_keyscoped key example.data.datadog_permissionsintoscopesdocs/resources/service_account_application_key.mdfrom the updated exampleWhy
As described in #3819, the current example suggests passing permission IDs into application key
scopes. Datadog rejects that request withInvalid scopes.The provider implementation and acceptance tests already use scope names directly, so this change aligns the documentation example with the provider behavior and Datadog API expectations.
References
changelog/documentation,resource/datadog_service_account_application_keyTests
make fmtcheckmake docsmake check-docsmake test TEST="./datadog ./datadog/dashboardmapping ./datadog/fwprovider ./datadog/fwprovider/observability_pipeline ./datadog/internal/customtypes ./datadog/internal/fwutils ./datadog/internal/planmodifiers ./datadog/internal/utils ./datadog/internal/validators ./version"make testwas attempted, butdatadog/testsincludes acceptance tests and failed becauseDD_TEST_CLIENT_API_KEYis not set in this local environment.