Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform 0.8.x compatability #9

Closed
cristobal23 opened this issue Jan 10, 2017 · 2 comments
Closed

Terraform 0.8.x compatability #9

cristobal23 opened this issue Jan 10, 2017 · 2 comments

Comments

@cristobal23
Copy link
Contributor

Has anyone tried this module with terraform versions 0.8.x? I got a invalid backslash escape sequence error on generate-certs/main.tf when using terraform 0.8.0

Error loading Terraform: Error downloading modules: module cert_generator: Error loading .terraform/modules/f128a8f9a1d97e66282f11571b6e3f70/generate-certs/main.tf: Error reading config for aws_iam_role_policy[s3_certs_rw]: parse error at 11:50: invalid backslash escape sequence
@disaac
Copy link
Member

disaac commented Jan 10, 2017

hashicorp/terraform#8709 looks like related to the fix rolled out for this. Explained here hashicorp/hcl#150. Backslash escapes are ignored inside of ${}.

# line 49
 "arn:aws:s3:::${replace(var.s3_bucket,"/(\/)+$/","")}"

@cristobal23
Copy link
Contributor Author

Thanks for the feedback @disaac! I tested the patch in #10 by running bundle exec rake as shown in circle.yml.

yuhunglin pushed a commit that referenced this issue Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants