使用PapaParse本地文件路径作为关系

时间:2020-01-08 14:39:15

标签: papaparse

我正在尝试使用诸如resource "aws_batch_job_definition" "test" { name = "jobtest" type = "container" container_properties =<<CONTAINER_PROPERTIES { "image": var.image, "memory": 512, "vcpus": 1, "jobRoleArn": "${aws_iam_role.job_role.arn}" } CONTAINER_PROPERTIES } 之类的相对路径来解析本地文件。当我使用类似AWS Batch Job container_properties is invalid: Error decoding JSON: invalid character 'v' looking for beginning of value on admin/prd/batch.tf line 1, in resource "aws_batch_job_definition" "test": 1: resource "aws_batch_job_definition" "test" { 的相对路径时,它可以工作,但对于两个Papa.parse("../../file.csv", {,则不行。

0 个答案:

没有答案