A serverless function to export/archive KnowBe4 data for analytics and reporting
- Copy the aes key from Codeship
- Paste it in a new file
codeship.aes
- Run
jet decrypt aws.env.encrypted aws.env
- (Optional) Compare the key in
aws.env
with the key in the most recent Terraform Cloud output - Use the Terraform CLI to taint the old access key
- Run a new plan on Terraform Cloud
- Review the new plan and apply if it is correct
- Copy the new key and secret from the Terraform output into the aws.env file, overwriting the old values
- Run
jet encrypt aws.env aws.env.encrypted
- Commit the new
aws.env.encrypted
file on thedevelop
branch and push it to Github - Submit a PR to release the change to the
main
branch
(TBD)