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

Resource identifiers are invalid #33

Closed
LordMike opened this issue Feb 21, 2019 · 0 comments
Closed

Resource identifiers are invalid #33

LordMike opened this issue Feb 21, 2019 · 0 comments

Comments

@LordMike
Copy link
Contributor

I've generated some resources which cannot be read by Terraform:

> terraform fmt
Error running fmt: In out.tf: At 1063:44: expected: IDENT | STRING | ASSIGN | LBRACE got: NUMBER

At that line, I have:

resource cloudflare_zone_settings_override 9225337f9c19b3ba890ed063b8a5e38d {

I fixed it by ensuring that the resource name is in quotes, like this:

resource cloudflare_zone_settings_override "9225337f9c19b3ba890ed063b8a5e38d" {
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

1 participant