GoogleCloudPlatform / GoogleCloudPlatform/deploymentmanager-samples
'gcloud deployment-manager deployments ....' doesn't handling globing when run on Windows
- Dominant language
- Jinja
- Stars
- 951
- Forks
- 700
- PR merge metrics
- No merged PRs in 30d
Description
The recently introduced globbing feature for Deployment Manager so that schema templates do not need to explicitly list all of the template and helper files does not appear to work correctly when the gcloud command to submit the Deployment Manager deployment is run from a Windows computer.
glob_imports is set to 'true'.
When submitted, the files are copied to the Deployment Manager workspace, however the file path separator, as specified in the schema file, is changed from '/' to '\' which causes Deployment Manager to fail to process the templates correctly and results in an error.
The same command works correctly if submitted from a linux session on the same computer using the same set of files.
See screenshot:

Contributor guide
Assessment
This issue has not been assessed yet.