mirror of
https://github.com/awatertrevi/macos-configuration.git
synced 2026-09-22 11:44:36 +00:00
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:
10
update.fish
10
update.fish
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user