Creds in snow does not allow space
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
## Actual behaviour
When the line of snow creds file containing whitespace at the end:
```
[10.0.0.1]
aws_access_key_id = ***
aws_secret_access_key = ***
region = snow
```
`create cluster -f ./cluster.yaml -v 99` would fail:
```
Error: getting device ips from aws credentials: no ip address profile found in content
```
## Expected behaviour
No error getting device ips from aws credentials
Contributor guide
Research direction
Start by searching the exact error text, "no ip address profile found in content," and trace the credential parsing used by `create cluster -f ./cluster.yaml -v 99`. Reproduce the trailing-space case from the issue, add coverage for it, and verify that the command no longer fails while reading AWS credentials.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, go
- Domain
- authentication, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100