Skip to content

Commit

Permalink
feat: add "console" rule in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
tschneider-aneo committed Feb 10, 2025
1 parent 1aae25f commit d87077a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infrastructure/quick-deploy/aws/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ delete:
hibernate:
terraform destroy -var-file=$(VERSIONS_FILE) -var-file=$(PARAMETERS_FILE) -var-file=$(EXTRA_PARAMETERS_FILE) -auto-approve -target=module.vpc -target=module.eks -target=module.mq -target=module.s3_os -target=module.elasticache

console:
terraform console -var-file=$(VERSIONS_FILE) -var-file=$(PARAMETERS_FILE) -var-file=$(EXTRA_PARAMETERS_FILE)

state-pull:
terraform state pull

Expand Down
3 changes: 3 additions & 0 deletions infrastructure/quick-deploy/gcp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ delete:
hibernate:
terraform destroy -var-file=$(VERSIONS_FILE) -var-file=$(PARAMETERS_FILE) -var-file=$(EXTRA_PARAMETERS_FILE) -auto-approve -target=module.vpc -target=module.gke -target=module.gcs_os -target=module.memorystore

console:
terraform console -var-file=$(VERSIONS_FILE) -var-file=$(PARAMETERS_FILE) -var-file=$(EXTRA_PARAMETERS_FILE)

output:
@terraform output -state=$(STATE_FILE) -json | jq 'map_values(.value)' > $(OUTPUT_FILE)
@echo "\nOUTPUT FILE: $(OUTPUT_FILE)"
Expand Down
3 changes: 3 additions & 0 deletions infrastructure/quick-deploy/localhost/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ refresh:
delete:
terraform destroy -var-file=$(VERSIONS_FILE) -var-file=$(PARAMETERS_FILE) -var-file=$(EXTRA_PARAMETERS_FILE) -auto-approve

console:
terraform console -var-file=$(VERSIONS_FILE) -var-file=$(PARAMETERS_FILE) -var-file=$(EXTRA_PARAMETERS_FILE)

state-pull:
terraform state pull

Expand Down

0 comments on commit d87077a

Please sign in to comment.