Added sumo-mac
This commit is contained in:
1 parent
d83255dc91
commit
c8aaf743b9
21 files changed
+286
-1
No files matched your search
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
TF_LOG=trace terraform apply --auto-approve &> apply.log
|
||||
TF_LOG=trace terraform destroy --auto-approve &> destroy.log
|
||||
|
||||
cat destroy.log | grep "DEBUG: Request" | sed -nr 's/^.*Request (.*) Details:/\1/p' | sort | uniq > all.perms
|
||||
cat apply.log | grep "DEBUG: Request" | sed -nr 's/^.*Request (.*) Details:/\1/p' | sort | uniq >> all.perms
|
||||
cat all.perms | sort | uniq -u > required.perms
|
||||
rm all.perms
|
||||
Reference in new issue
Block a user