riboseinc / terraform-aws-s3-cloudfront-website

Terraform module for creating a static S3 website with CloudFront with an SSL certificate (e.g., from ACM)
Apache License 2.0
74 stars 40 forks source link

Error: Invalid argument name #23

Closed kaihendry closed 5 years ago

kaihendry commented 5 years ago

Hi, Your README example into s3.tf erros with

Error: Invalid argument name

  on s3.tf line 55, in module "main":
  55:     "aws.main" = "aws.main"

Argument names must not be quoted.

Using


Terraform v0.12.4
+ provider.aws v2.19.0
ronaldtse commented 5 years ago

Thank for the report @kaihendry ! I believe this is due to the incompatibility with terraform 0.12 syntax.

@phuonghyunh can you help upgrade the module to 0.12 syntax? Make a tag so we keep what we have now for 0.11 or below. Thanks!

phuonghuynh commented 5 years ago

Yes

ronaldtse commented 5 years ago

Fixed in c17aee4582a88105109ed51fcccf6c0ef783096d.

ronaldtse commented 5 years ago

@kaihendry sorry for the late reply, the issue should have been fixed now.