GithubHelp home page GithubHelp logo

Comments (6)

awsandy avatar awsandy commented on August 11, 2024

it's because there's a quote " in the description text - it needs to be escaped. I'll look to reproduce and post a fix shortly.

from aws2tf.

awsandy avatar awsandy commented on August 11, 2024

committed fix for this

from aws2tf.

ahkai86 avatar ahkai86 commented on August 11, 2024

Thanks @awsandy!! but the lambda issues still persist

 Error: Invalid resource name
│ 
│   on aws_lambda_permission.0c6fb271-192b-4a5d-9c66-ee3dbbd6f0dc.tf line 1, in resource "aws_lambda_permission" "0c6fb271-192b-4a5d-9c66-ee3dbbd6f0dc":
│    1: resource "aws_lambda_permission" "0c6fb271-192b-4a5d-9c66-ee3dbbd6f0dc" {}
│ 
│ A name must start with a letter or underscore and may contain only letters,
│ digits, underscores, and dashes.`
```

from aws2tf.

awsandy avatar awsandy commented on August 11, 2024

fix committed for the above aws_lambda_permission issue

from aws2tf.

ahkai86 avatar ahkai86 commented on August 11, 2024

still on this same issue "Error: Missing newline after argument"

Error: Missing newline after argument

on aws_cloudwatch_event_target__default__SSMOpsItems-Autoscaling-instance-launch-failure__SSMOpsItems-Autoscaling-instance-launch-failureTarget.tf line 22, in resource "aws_cloudwatch_event_target" "default__SSMOpsItems-Autoscaling-instance-launch-failure__SSMOpsItems-Autoscaling-instance-launch-failureTarget":
22: input_template = "={ "title": "Auto Scaling EC2 instance launch failed", "description": "CloudWatch Event Rule SSMOpsItems-Autoscaling-instance-launch-failure was triggered. Your EC2 instance launch has failed. See below for more details.", "source": "EC2 Auto Scaling", "category": "Availability", "severity":"2", "resources": , "operationalData": { "/aws/dedup": {"type": "SearchableString", "value": "{\"dedupString\":\"SSMOpsItems-Autoscaling-instance-launch-failure\"}"}, "/aws/automations": { "value": "[ { \"automationType\": \"AWS:SSM:Automation\", \"automationId\": \"AWS-ASGEnterStandby\" }, { \"automationType\": \"AWS:SSM:Automation\", \"automationId\": \"AWS-ASGExitStandby\" } ]" }, "autoscaling-group-name": {"value": }, "status-message": {"value": }, "start-time": {"value": }, "end-time": {"value": }, "cause": {"value": }} }"

An argument definition must end with a newline.

from aws2tf.

awsandy avatar awsandy commented on August 11, 2024

This is the same as issue 34 - for both I need the output form terraform state show

  • so closing this issue as 34 will resolve the above

from aws2tf.

Related Issues (20)

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.