We’d like to manage via the dynatrace terraform provider:
- Platform tokens
- OAuth clients
could this be added? thanks a lot!
We’d like to manage via the dynatrace terraform provider:
could this be added? thanks a lot!
Currently, the Dynatrace Terraform provider doesn’t have dedicated resources for Platform tokens or OAuth clients.
But go through the docs describe using them for provider authentication, not necessarily provisioning them via Terraform resources
Terraform API support and access permission handling — Dynatrace Docs
Thanks,
Sujit
I second the request, in our case we’d like to manage the platform tokens for AWS logs/events ingestion.
The documentation for the existing API token resource doesn’t make it very clear that platform tokens are not supported.
On top of that when you try and specify platform token scopes like data-acquisition:logs:ingest you get a rather unhelpful error:
module.dynatrace_aws_connection.dynatrace_api_token.ingest_token[0]: Creating...
╷
│ Error: Could not map JSON at 'scopes[0]' near line 1 column 112
│
│ with module.dynatrace_aws_connection.dynatrace_api_token.ingest_token[0],
│ on .terraform/modules/dynatrace_aws_connection/cloudformation.tf line 19, in resource "dynatrace_api_token" "ingest_token":
│ 19: resource "dynatrace_api_token" "ingest_token" {
│
╵