-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Hello.
hcl2json works nice, but there are some cases that after conversion don't work.
Here you can see a list of fixtures used for different converter.
Passing of those tests almost garanties that json file will be executable and valid for terraform.
Terraform init/plan fails for at least two cases. depens_on(depends_on.hcl) case and type case.
Depends_on case has to be without interpolation.
In case of type - interpolation don't has to present as well. type is reserved key for variables.
Example :
variable "availability_zones" {
type = list(string)
default = ["az1", "az2", "az3"]
}
Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed