Coder Social home page Coder Social logo

Comments (8)

xp-1000 avatar xp-1000 commented on May 29, 2024

Hello @koblas

About upgrading version for terraform and datadog provider, the current code base should be compatible.
Did you meet a specific problem with these versions ?

Currently, we don't have constraint for the provider version and that is true it would be better to add it.

Regarding the terraform version itself, we still set the 0.12.26 constraint which should be the oldest version compatible if I am not wrong. I think we should avoid to upgrade this minimum version without a good reason to allow users with old terraform versions to continue to use related modules.

from terraform-datadog-monitors.

koblas avatar koblas commented on May 29, 2024

The datadog provider 3.1 has changed threshold = { to monitor_threshold {. Also, it appears all of the lifecycle rules no longer work.

In Terraform 1.0 I noted in the common/filters the list(...) has been replaced with tolist([....])

Which basically means that if you upgrade to Terraform 1.0 this no longer works. Most packages would pin the 12.x version on the your 3.x release versions and then have a 4.x version which was Terraform 1.0 compatible.

from terraform-datadog-monitors.

xp-1000 avatar xp-1000 commented on May 29, 2024

@koblas https://github.com/claranet/terraform-datadog-monitors/releases/tag/v4.0.0 has been released with support for datadog provider v3 and it remains compatible with terraform 0.12

from terraform-datadog-monitors.

koblas avatar koblas commented on May 29, 2024

Thanks, but still a bit disappointed that you're not supporting Terraform 1.0.

from terraform-datadog-monitors.

xp-1000 avatar xp-1000 commented on May 29, 2024

It supports Terraform >= 0.12.31 including 1.0

from terraform-datadog-monitors.

koblas avatar koblas commented on May 29, 2024

Interesting, when I tried I got an error that said.
image

from terraform-datadog-monitors.

xp-1000 avatar xp-1000 commented on May 29, 2024

are you sure to use the v4.0.0 tag ? this list function has been removed in the related PR: https://github.com/claranet/terraform-datadog-monitors/pull/3/files#diff-c4f9a5a2a0532daa7985899e6b9e05df0246b2da7b84aedae790ff5405420c8aR15

from terraform-datadog-monitors.

koblas avatar koblas commented on May 29, 2024

I had missed that fix, thanks.

from terraform-datadog-monitors.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.