Add AWS profile config and resoftware-iac OpenTofu state runbook

Track ~/.aws/config (profiles only, never credentials) as a copied
config: setup.sh restores it, update.fish refreshes it. Document the
S3 state backend setup for resoftware-iac in the README, including
the config/credentials profile-header gotcha behind "failed to get
shared config profile".

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Trevi Awater
2026-09-07 21:25:22 +02:00
parent 250baaaba1
commit 600f163cfd
4 changed files with 78 additions and 9 deletions

View File

@@ -6,6 +6,7 @@
# always current. This script refreshes the ones that are plain copies and
# therefore drift out of date:
#
# * aws-config <- ~/.aws/config (profiles only; credentials never tracked)
# * brewfile <- `brew bundle dump`
# * claude-settings.json <- ~/.claude/settings.json
# * hosts <- /etc/hosts
@@ -45,6 +46,15 @@ else
echo "==> Skipping serena_config.yml ($serena_config not found)"
end
# --- AWS config (profiles only, ~/.aws/credentials is never tracked) -------
set -l aws_config "$HOME/.aws/config"
if test -f $aws_config
echo "==> Copying $aws_config -> aws-config"
cp $aws_config aws-config
else
echo "==> Skipping aws-config ($aws_config not found)"
end
# --- /etc/hosts ------------------------------------------------------------
if test -f /etc/hosts
echo "==> Copying /etc/hosts -> hosts"