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

Error during variable serialization in map #189

Open
Pryz opened this issue Feb 15, 2017 · 0 comments
Open

Error during variable serialization in map #189

Pryz opened this issue Feb 15, 2017 · 0 comments
Labels
v1 Relates to the v1 line of releases

Comments

@Pryz
Copy link

Pryz commented Feb 15, 2017

HCL Template

variable "baz" {
  type = "map"

  default = {
    "A"    = "a"
    "0.0.0.0/0" = "i-123456"
  }
}

Expected behavior

I would expect "0.0.0.0/0" to be parsed as string.

Actual behavior

An error has occurred while serializing the variables for uploading:
At 2:9: expected: IDENT | STRING | ASSIGN | LBRACE got: FLOAT

Steps to reproduce

  1. Use the example below in command/test-fixtures/push-tfvars/main.tf
  2. Run make test TEST=./command

References

@apparentlymart apparentlymart added the v1 Relates to the v1 line of releases label Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1 Relates to the v1 line of releases
Projects
None yet
Development

No branches or pull requests

2 participants