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

var support in hcl #4

Open
exiadbq opened this issue Mar 4, 2021 · 2 comments
Open

var support in hcl #4

exiadbq opened this issue Mar 4, 2021 · 2 comments

Comments

@exiadbq
Copy link

exiadbq commented Mar 4, 2021

Thanks for coming up with this nice tool!

I got the following which has "unable to parse JSON: At 9:10: Unknown token: 9:10 IDENT string" error.

resource "tfe_oauth_client" "oauth-client" {
  organization     = var.organization
  api_url          = "https://api.github.com"
  http_url         = "https://github.com"
  oauth_token      = var.oauth_token
  service_provider = "github"
}

A bit similar to #1, however just to confirm is everything need to be in quote?
I can "${var.oauth_token}" but just want to confirm, and if that's something to do with HCL2.

Thanks!

@exiadbq exiadbq changed the title var in var support in hcl Mar 4, 2021
@vgsantoniazzi
Copy link
Owner

vgsantoniazzi commented Mar 4, 2021

Hey @exiadbq! Thanks for the message 🙌 Yes, for now. PRs are welcome!

@vgsantoniazzi
Copy link
Owner

vgsantoniazzi commented Mar 4, 2021

I'll update the libs as soon as I have time!

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