Prevents "no stack selected" errors when running from a fresh environment or after stack state is cleared. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
350 B
Bash
Executable file
11 lines
350 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#MISE description="Apply DNS changes to eblu.me with Pulumi"
|
|
|
|
set -euo pipefail
|
|
|
|
GANDI_PERSONAL_ACCESS_TOKEN=$(op --vault vg6xf6vvfmoh5hqjjhlhbeoaie item get mco6ka3dc3rmw7zkg2dhia5d2m --fields pat --reveal)
|
|
export GANDI_PERSONAL_ACCESS_TOKEN
|
|
|
|
cd "$(dirname "$0")/../pulumi/gandi"
|
|
pulumi stack select eblu-me
|
|
pulumi up --yes "$@"
|