-
Notifications
You must be signed in to change notification settings - Fork 0
/
dns-test-aaaa.cmd
44 lines (37 loc) · 1.69 KB
/
dns-test-aaaa.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@echo off
echo -----------------------------
echo Test Running [DNS AAAA Records List #1]
cd dns-aaaa-records-list-1
copy ..\credentials\terraform.tfvars /y > nul
terraform init -no-color > ..\dns-aaaa-records-list-1-result.txt
terraform apply -auto-approve -no-color >> ..\dns-aaaa-records-list-1-result.txt
cd ..
echo Test Running [DNS AAAA Records List #2]
cd dns-aaaa-records-list-2
copy ..\credentials\terraform.tfvars /y > nul
terraform init -no-color > ..\dns-aaaa-records-list-2-result.txt
terraform apply -auto-approve -no-color >> ..\dns-aaaa-records-list-2-result.txt
cd ..
echo Test Running [DNS AAAA Records List #3]
cd dns-aaaa-records-list-3
copy ..\credentials\terraform.tfvars /y > nul
terraform init -no-color > ..\dns-aaaa-records-list-3-result.txt
terraform apply -auto-approve -no-color >> ..\dns-aaaa-records-list-3-result.txt
terraform destroy -auto-approve -no-color >> ..\dns-aaaa-records-list-3-result.txt
cd ..
echo Test Running [DNS AAAA Records List #4]
cd dns-aaaa-records-list-4
copy ..\credentials\terraform.tfvars /y > nul
terraform init -no-color > ..\dns-aaaa-records-list-4-result.txt
terraform apply -auto-approve -no-color >> ..\dns-aaaa-records-list-4-result.txt
terraform destroy -auto-approve -no-color >> ..\dns-aaaa-records-list-4-result.txt
cd ..
echo Test Running [DNS AAAA Records Create] - Create
cd dns-aaaa-records-create
copy ..\credentials\terraform.tfvars /y > nul
terraform init -no-color > ..\dns-aaaa-records-create.txt
terraform apply -auto-approve -no-color >> ..\dns-aaaa-records-create.txt
echo Test Running [DNS AAAA Records Create] - Destroy
terraform destroy -auto-approve -no-color >> ..\dns-aaaa-records-create.txt
cd ..
echo -----------------------------