Use Pulumi to provision and Nix to configure (#12)

This commit is contained in:
Patrick Stevens
2023-02-02 22:14:16 +00:00
committed by GitHub
parent 61611ccc2c
commit d08cf9bec3
46 changed files with 810 additions and 1165 deletions

View File

@@ -11,20 +11,6 @@ else
pulumi config set digitalocean:token "$DIGITAL_OCEAN_TOKEN" --secret
fi
if [ -z "$DIGITAL_OCEAN_SPACES_KEY" ]; then
echo "Get a Digital Ocean spaces key and pass it in as the env var DIGITAL_OCEAN_SPACES_KEY."
exit_code=1
else
pulumi config set digitalocean:spaces_access_id "$DIGITAL_OCEAN_SPACES_KEY" --secret
fi
if [ -z "$DIGITAL_OCEAN_SPACES_SECRET" ]; then
echo "Get a Digital Ocean spaces key and pass its secret in as the env var DIGITAL_OCEAN_SPACES_SECRET."
exit_code=1
else
pulumi config set digitalocean:spaces_secret_key "$DIGITAL_OCEAN_SPACES_SECRET" --secret
fi
if [ -z "$CLOUDFLARE_API_TOKEN" ]; then
echo "Get a Cloudflare API token with edit-DNS rights, and pass it in as the env var CLOUDFLARE_API_TOKEN."
exit_code=1