-
Notifications
You must be signed in to change notification settings - Fork 33
unexpected EOF when trying to create a rancher_stack #30
Comments
@raphink any idea? |
@mcanevet I've also ran into an issue like this. I worked around it by using the It seems the issue is that the module does not read the |
Indeed, it seems quite a few templates in the community catalog have a file called |
I don't see how this works in Rancher, if it tries both files or just doesn't bother with file names (which seems strange, given that the API clearly requires to pass docker-compose and rancher-compose). @cloudnautique can you bring some light on this? |
Apparently, this is supported in Rancher (although undocumented) through https://github.com/rancher/rancher-compose-executor/blob/master/project/init.go#L90-L93: for _, validSuffix := range []string{
".yml",
".yaml",
".yml.tpl",
".yaml.tpl",
} {
if strings.HasSuffix(filename, validSuffix) {
filtereredTemplates[filename] = contents
break
}
} |
Fix in #41 |
Terraform-provider-rancher Version
v0.2.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/mcanevet/b65de88b338b8ee20cfee4b4390e9e77
It's the only stack where I have this issue. All other catalogs I use works fine.
The text was updated successfully, but these errors were encountered: