Skip to content

Datadog drain are automatically recreated by terraform on apply #372

@Kirbeerus

Description

@Kirbeerus

When you have a datadog drain created via terraform, any subsequent terraform apply will recreate the drain.
This is because the encoding of the token make terraform think there is a change in the URL. As it see the current one as encoded and the new one as unencoded

url         = "https://http-intake.logs.datadoghq.eu/<encoded_token> -> "https://http-intake.logs.datadoghq.eu/v1/input/<unencoded_token>" # forces replacement

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions