terraform-provider-datadog icon indicating copy to clipboard operation
terraform-provider-datadog copied to clipboard

datadog_logs_index - allow changing Flex log settings

Open brettplarson opened this issue 1 year ago • 5 comments

What resources or data sources are affected?

datadog_logs_index

Feature Request

The terraform provider has no settings in datadog_logs_index for flex log settings. I don't think the API supports it yet, from looking at https://docs.datadoghq.com/api/latest/logs-indexes/#update-an-index but it would be great to control this programmatically. - I opened a feature request ticket as well https://help.datadoghq.com/hc/en-us/requests/1763908

References

No response

brettplarson avatar Jul 08 '24 19:07 brettplarson

Note that this configuration is now available in the API https://docs.datadoghq.com/api/latest/logs-indexes/#update-an-index

@eisenbergrobin would this make this feature possible?

kallangerard avatar Sep 02 '24 08:09 kallangerard

👋 This is currently being worked on as we speak and will be available in the coming weeks - we are keeping this issue open for tracking and will update when released.

eisenbergrobin avatar Sep 10 '24 14:09 eisenbergrobin

Excellent news, as Flex Logs has just gone to general availability, so we're keen to get this terraformed. Keep up the good work !

mikecouk avatar Sep 16 '24 08:09 mikecouk

Has this been completed yet? Is there an updated ETA? Thanks!

dmaxddog avatar Oct 16 '24 09:10 dmaxddog

Has this been completed yet? Is there an updated ETA? Thanks!

Yes we added them last week via terraform, worked a treat !

mikecouk avatar Oct 16 '24 09:10 mikecouk

As the flex_retention_days has been added to datadog_log_index resource, the ticket is closed.

Don't hesitate to reopen the ticket if you consider elements are missing for flex logs.

ecdatadog avatar Jan 21 '25 07:01 ecdatadog