Code Monkey home page Code Monkey logo

terraconf's People

Contributors

jzbruno avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jmseaton

terraconf's Issues

Not handling a * character in a key

I have a datadog_monitor resource in tfstate. One of the key pairs is "silenced.*": "0",

When I run terraconf, it returns nothing. When I delete "silenced.*": "0", from tfstate, it runs fine and give the HCL output.

This is the full state file:
{ "version": 3, "terraform_version": "0.11.5", "serial": 1, "lineage": "2ab30d68-5233-b2a0-741c-d44041844f8a", "modules": [ { "path": [ "root" ], "outputs": {}, "resources": { "datadog_monitor.3259218": { "type": "datadog_monitor", "depends_on": [], "primary": { "id": "3259218", "attributes": { "escalation_message": "", "evaluation_delay": "0", "id": "3259218", "include_tags": "false", "locked": "false", "message": "TEST", "name": "Anomoly Detected - Test", "new_host_delay": "300", "no_data_timeframe": "0", "notify_audit": "false", "notify_no_data": "false", "query": "avg(last_30m):anomalies(avg:aws.elb.request_count{environment:prod} by {stack_role}.as_count(), 'agile', 2, direction='both', seasonality='weekly') \u003e 1", "renotify_interval": "0", "require_full_window": "true", "silenced.%": "1", "silenced.*": "0", "tags.#": "1", "tags.0": "*", "thresholds.%": "1", "thresholds.critical": "1.0", "timeout_h": "0", "type": "query alert" }, "meta": {}, "tainted": false }, "deposed": [], "provider": "provider.datadog" } }, "depends_on": [] } ] }

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.