99designs / iamy

A cli tool for importing and exporting AWS IAM configuration to YAML files
MIT License
238 stars 24 forks source link

Ensure consistent file path separator handling in all OS #40

Closed mrafter closed 6 years ago

mrafter commented 6 years ago

Currently iamy push fails in Windows environments with the error No files found for AWS Account ID. This is caused by Windows file paths containing backslashes - the regex matching logic and other logic within yaml.go expects file paths to have forward slashes. We can use the filepath.ToSlash function to ensure the use of forward slashes as file path separators.

mtibben commented 6 years ago

Thanks @mrafter