easyawslearn / terraform-aws-kinesis

creating terraform kinesis firehose delivery stream
5 stars 23 forks source link

Error while trying to apply #1

Open Vishnat opened 3 years ago

Vishnat commented 3 years ago

Getting an error when I perform terraform plan* aws_iam_role_policy.read_policy: "policy" contains an invalid JSON: invalid character ']' looking for beginning of value

harsh4870 commented 3 years ago

@Vishnat any update on this working for you ?

harsh4870 commented 3 years ago

Remove the command from policy.tf file.

          "Resource": [
              "a${var.s3_bucket_arn}",
          ]

at last there comma.

make it something like


"Resource": [
              "a${var.s3_bucket_arn}"
          ]
Vishnat commented 3 years ago

Thank you very much will try it out

On Wed, Jun 16, 2021 at 9:06 AM Harsh Manvar @.***> wrote:

Remove the command from policy.tf file.

      "Resource": [
          "a${var.s3_bucket_arn}",
      ]

at last there comma.

make it something like

"Resource": [ "a${var.s3_bucket_arn}" ]

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/easyawslearn/terraform-aws-kinesis/issues/1#issuecomment-862363298, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT7WCZ6QYDFDVRGF4FHXN3LTTCOTXANCNFSM44LJN3SA .