Comments (6)
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.
committed fix for this
from aws2tf.
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.
fix committed for the above aws_lambda_permission issue
from aws2tf.
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.
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)
- syntax error near unexpected token [[ HOT 1
- improve speed when continuing HOT 4
- continue with `-c yes` even with .terraform directory is missing HOT 3
- expired tokens corrupt things HOT 6
- sts output in aws2tf.sh assumes JSON HOT 1
- errors when importing "aws config" HOT 4
- aws_cloudwatch_metric_alarm is not hcl HOT 2
- s3 issue HOT 8
- Lambda role with a period/dot is not properly handled HOT 2
- ls error
- small issues on first run without parameters HOT 1
- cloudwatch_event_rule errors HOT 2
- no failure on non existing resource type HOT 5
- broken plan for resource type aurora HOT 10
- ecs - missing required param HOT 2
- aws_lb_target_group: The argument "enable_unhealthy_connection_termination" is required, but no definition was found. HOT 2
- natgw resource type now broken HOT 6
- -t kinesis does not import all buckets HOT 8
- `-t route53` missing HOT 2
- Feature Requests HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws2tf.