Giter Club home page Giter Club logo

Comments (6)

dichiarafrancesco avatar dichiarafrancesco commented on June 1, 2024

Hi @blkperl actually we never implemented the slack integration in this provider (L263). I'll make a quick patch.

from terraform-provider-signalform.

dichiarafrancesco avatar dichiarafrancesco commented on June 1, 2024

#9 out for review. I'll update you as soon as it gets merged. I tested it locally. If it keeps failing with an error that looks like the following, the problem is related to invalid credentials:

  • signalform_detector. site_capacity.0: For the resource SignalFx returned status 400:
<title>Error 400 Bad Request</title>

HTTP ERROR 400

Problem accessing /v2/detector. Reason:

    Bad Request

from terraform-provider-signalform.

blkperl avatar blkperl commented on June 1, 2024

Tested #9 and confirmed that it works!

from terraform-provider-signalform.

blkperl avatar blkperl commented on June 1, 2024

This could go in a follow up story but I think it should throw an error if the notification type is not defined.

from terraform-provider-signalform.

dichiarafrancesco avatar dichiarafrancesco commented on June 1, 2024

Hi it's a great idea but unfortunately ValidateFunc only works for primitive types so it makes kinda hard to do validations on lists. thanks for the feedback and for taking some time to test my change. really appreciated that ;)

from terraform-provider-signalform.

poros avatar poros commented on June 1, 2024

It might be possible to add the validation check to https://github.com/Yelp/signalform-tools, since we have already a command to perform more advanced validation of terraform resources: https://github.com/Yelp/signalform-tools/blob/master/signalform_tools/validate.py

We run this validation as git pre-commit hook (https://pre-commit.com/) for our internal repo at Yelp.

@blkperl If this could work for you and you want to take a stab at it, feel free to go ahead.

from terraform-provider-signalform.

Related Issues (16)

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.