Skip to content

Commit

Permalink
Update content/en/getting-started/faq.md
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik Schubert <[email protected]>
  • Loading branch information
MarcelStranak and dominikschubert authored Nov 10, 2023
1 parent 69737eb commit 2dffa72
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions content/en/getting-started/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,20 @@ This conversion can cause problems when it's not needed, such as with `"--name /
To prevent this, you can temporarily set the `MSYS_NO_PATHCONV` environment variable.
Another workaround is to double the first slash in your command to prevent the POSIX-to-Windows path conversion.

```bash
#set the environment variable
MSYS_NO_PATHCONV=1 aws ssm put-parameter --name "/test/parameter/new" --type String --value "test"
aws ssm get-parameter --name "/test/parameter/new"
This will lead to issues with Git Bash
{{< command >}}
$ aws ssm get-parameter --name "/test/parameter/new"
{{< / command >}}

# double the first slash
aws ssm put-parameter --name "//test/parameter/new" --type String --value "test"
aws ssm get-parameter --name "/test/parameter/new"
```
Option 1: Set the environment variable
{{< command >}}
$ MSYS_NO_PATHCONV=1 aws ssm put-parameter --name "/test/parameter/new" --type String --value "test"
{{< / command >}}

Option 2: Double the first slash
{{< command >}}
$ aws ssm put-parameter --name "//test/parameter/new" --type String --value "test"
{{< / command >}}

For additional known issues related to Git Bash, you can refer to the following link: [Git Bash Known Issues](https://github.com/git-for-windows/build-extra/blob/main/ReleaseNotes.md#known-issues)

Expand Down

0 comments on commit 2dffa72

Please sign in to comment.