Initial Oracle Deep Data Security lab kit
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
SHELL := /bin/bash
|
||||
ENV ?= demo
|
||||
SCENARIO ?= 01-ai-prompt-injection
|
||||
|
||||
.PHONY: fmt validate plan apply destroy scenario
|
||||
|
||||
fmt:
|
||||
cd terraform/envs/$(ENV) && terraform fmt -recursive
|
||||
|
||||
validate:
|
||||
pwsh ./scripts/validate-terraform.ps1
|
||||
|
||||
plan:
|
||||
cd terraform/envs/$(ENV) && terraform init && terraform plan -out tfplan
|
||||
|
||||
apply:
|
||||
cd terraform/envs/$(ENV) && terraform apply tfplan
|
||||
|
||||
destroy:
|
||||
cd terraform/envs/$(ENV) && terraform destroy
|
||||
|
||||
scenario:
|
||||
pwsh ./scripts/run-scenario.ps1 -Scenario $(SCENARIO)
|
||||
Reference in New Issue
Block a user