Initial commit: Cloudflare DNS management with Pulumi
This commit is contained in:
commit
d8d2f39c99
1 changed files with 3748 additions and 0 deletions
16
Makefile
Normal file
16
Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
.PHONY: help login preview up
|
||||
|
||||
# Default target
|
||||
help: ## Show this help message
|
||||
@echo "Available targets:"
|
||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " %-20s %s\n", $$1, $$2}'
|
||||
|
||||
# Production stack commands
|
||||
login: ## Login to Pulumi backend (GCS)
|
||||
pulumi login gs://mcp-dns-prod-pulumi-state
|
||||
|
||||
preview: login ## Preview infrastructure changes
|
||||
PULUMI_CONFIG_PASSPHRASE_FILE=passphrase.prod.txt pulumi preview --stack prod
|
||||
|
||||
up: login ## Deploy infrastructure
|
||||
PULUMI_CONFIG_PASSPHRASE_FILE=passphrase.prod.txt pulumi up --yes --stack prod
|
||||
Loading…
Reference in a new issue