The default aws cli cache directory (/home/atlantis/.aws/cli) is unwritable as the aws secret is mounted as as the entire /home/atlantis/.aws directory.
When dealing with lots of profiles, etc. it is nice to have the aws cli tool available in atlantis (we build our own image w/ additional toolsets installed). But the helm chart's existing method for managing the aws secret doesnt allow the aws cli to work out of the box.
I will submit a PR shortly to iterate through the aws objects and mount them individually as files within the .aws directory instead.
The default aws cli cache directory (/home/atlantis/.aws/cli) is unwritable as the aws secret is mounted as as the entire /home/atlantis/.aws directory.
When dealing with lots of profiles, etc. it is nice to have the aws cli tool available in atlantis (we build our own image w/ additional toolsets installed). But the helm chart's existing method for managing the aws secret doesnt allow the aws cli to work out of the box.
I will submit a PR shortly to iterate through the aws objects and mount them individually as files within the .aws directory instead.