Closed tyjet closed 1 month ago
Add new deprecation message to datadog_application_key data source.
nit: I think you meant datadog_api_key
data source
/merge
:steam_locomotive: MergeQueue: pull request added to the queue
The median merge time in master
is 1m.
Use /merge -c
to cancel this operation!
Add new deprecation message to datadog_api_key data source.
Followed these guidelines: https://developer.hashicorp.com/terraform/plugin/framework/deprecations#provider-data-source-or-resource-removal
Tested locally.
Warning when deprecated data source is used:
This also is printed for terraform refresh and terraform apply. On either refresh or apply the key is still stored in Terraform state.
Error when deprecated source is used and application key is not provided from the datadog API:
This also is printed for terraform refresh and terraform apply.
Testing note:
If in the future we stop returning the key field, then the integration tests will start failing. This is okay because at that point the data source is no longer functional and the tests can be removed.