This repository has been archived by the owner on May 13, 2024. It is now read-only.
Don't change the permissions of the bastion private key file generated by terraform #79
Labels
baictl
`baictl` is the tool/cli to use the benchmark-ai system
blocked
Requires action from an external party not in our control
infrastructure
Infrastructure related (terraform/aws)
The permissions of the terraform generated file is changed here:
Which can lead to problems if terraform ever wants to write to the file again:
In my case it didn't want to change the contents of the file, but terraform was failing anyway.
I believe we can trust terraform to do the right thing, ie, if it wants to change the contents of the file, then it will re-recreate the bastion instance.
Places that need changing
This file is required to run commands against the bastion (eg.:
baictl get benchmark
).These commands should be updated to deal with this situation.
The text was updated successfully, but these errors were encountered: