Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 'DEBUGGING' output #27

Open
mcascone opened this issue Jun 16, 2023 · 0 comments
Open

Remove 'DEBUGGING' output #27

mcascone opened this issue Jun 16, 2023 · 0 comments
Labels
cleanup Not a bug or feature, but a semantic or stylistic improvement

Comments

@mcascone
Copy link

During a terraform bitops run, we see this output:

DEBUGGING: [/opt/bitops/scripts/installed_plugins/terraform/scripts]
Copying defaults
DEBUGGING: [/opt/bitops/scripts/installed_plugins/terraform/scripts]
cd Terraform Root: /tmp/tmpwu392dyx/deployment/terraform
Listing contents of Terraform Root: /tmp/tmpwu392dyx/deployment/terraform
total 88
drwxr-xr-x    5 root     root          4096 Jun 16 18:54 .
drwxr-xr-x    6 root     root          4096 Jun 16 18:52 ..
drwxr-xr-x    3 root     root          4096 Jun 16 15:38 .terraform
-rw-r--r--    1 root     root          3201 Jun  6 20:10 .terraform.lock.hcl
-rw-r--r--    1 root     root            51 Jun 16 18:54 azure-resource_identifier.auto.tfvars
-rw-r--r--    1 root     root            89 Jun 16 18:54 azure-vm-admin-credentials.auto.tfvars
drwxr-xr-x    2 root     root          4096 Jun 16 18:53 bitops.after-deploy.d
drwxr-xr-x    2 root     root          4096 Jun 14 20:01 bitops.before-deploy.d
-rw-r--r--    1 root     root           102 Jun 16 18:54 bitops.config.yaml
-rw-r--r--    1 root     root           635 Jun 16 18:24 inventory.tf
-rw-r--r--    1 root     root           352 Jun 16 17:57 inventory.tmpl
-rwxr-xr-x    1 root     root           439 Jun 16 18:51 inventory.yaml
-rw-r--r--    1 root     root           732 Jun 14 20:01 locals.tf
-rw-r--r--    1 root     root           603 Jun 14 20:01 main.tf
-rw-r--r--    1 root     root          4154 Jun 14 20:01 network.tf
-rw-r--r--    1 root     root           414 Jun 14 20:01 outputs.tf
-rw-r--r--    1 root     root           601 Jun 14 20:01 private_key.tf
-rw-r--r--    1 root     root           487 Jun 16 18:54 provider.tf
-rw-r--r--    1 root     root           571 Jun 16 18:54 terraform.tfvars
-rw-r--r--    1 root     root          1988 Jun 14 20:01 variables.tf
-rw-r--r--    1 root     root          2855 Jun 14 20:01 vm.tf

Let's not print this unless DEBUG MODE is on.

@mcascone mcascone added the cleanup Not a bug or feature, but a semantic or stylistic improvement label Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Not a bug or feature, but a semantic or stylistic improvement
Projects
None yet
Development

No branches or pull requests

1 participant