Skip to content

Commit b1894bc

Browse files
authored
[data_datadog_application_key] remove scopes from schema (#2774)
* update data_source model * remove scopes from data source * remove ctx * make docs
1 parent 468f5ff commit b1894bc

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

datadog/fwprovider/data_source_datadog_application_key.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ func (d *applicationKeyDataSource) Schema(_ context.Context, req datasource.Sche
5656
Computed: true,
5757
Sensitive: true,
5858
},
59-
"scopes": schema.SetAttribute{
60-
Description: "Authorization scopes for the Application Key.",
61-
Optional: true,
62-
ElementType: types.StringType,
63-
},
6459
},
6560
DeprecationMessage: "The datadog_application_key data source is deprecated and will be removed in a future release with prior notice. Securely store your application key using a secret management system or use the datadog_application_key resource to manage application keys in your Datadog account.",
6661
}

docs/data-sources/application_key.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ data "datadog_application_key" "foo" {
2626
- `exact_match` (Boolean) Whether to use exact match when searching by name.
2727
- `id` (String) Id for Application Key.
2828
- `name` (String) Name for Application Key.
29-
- `scopes` (Set of String) Authorization scopes for the Application Key.
3029

3130
### Read-Only
3231

0 commit comments

Comments
 (0)