You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the output it's basically the logs from terrafrom, we should show those when we add the --verbose flag, which does not exists ATM.
The desired output would be, the one without the --verbose, this one:
Jun 19 12:17:01 INFO: Importing security_group [35/35] Done!
Jun 19 12:17:01 INFO: Importing aws_instance [10/35] ...
We still have some things TBD:
Do we want the TF logs on --verbose? Or we want something custom?
The TF logs are important? If so where/when do we want them?
EDIT:
We'll have 2 flags -v and -d:
Without any flag we'll have something like this output
Jun 19 12:17:01 INFO: Importing security_group [35/35] Done!
Jun 19 12:17:01 INFO: Importing aws_instance [10/35] ...
With -v we'll have the logs we had before with more custom logs (Debug) like this
Jun 19 12:17:01 DEBUG: Starting terracognita for region R - resources: X, Y, Z
Jun 19 12:17:01 INFO: Importing security_group [35/35] Done!
...
Jun 19 12:17:01 INFO: Importing aws_instance [9/35] ...
Jun 19 12:17:01 DEBUG: Importing aws_instance i-123lasdjk2
Jun 19 12:17:01 DEBUG: Writing HCL aws_instance i-123lasdjk2
Jun 19 12:17:01 DEBUG: Writing State aws_instance i-123lasdjk2
Jun 19 12:17:01 DEBUG: Finished importing aws_instance i-123lasdjk2
Jun 19 12:17:01 INFO: Importing aws_instance [10/35] ...
With -d we'll have the logs we had before with the TF ones:
2019/06/20 12:13:06 [INFO] Building AWS auth structure
2019/06/20 12:13:06 [INFO] Setting AWS metadata API timeout to 100ms
2019/06/20 12:13:07 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2019/06/20 12:13:07 [INFO] AWS Auth provider used: "StaticProvider"
2019/06/20 12:13:07 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2019/06/20 12:13:07 [DEBUG] Trying to get account information via sts:GetCallerIdentity
Jun 19 12:17:01 DEBUG: Starting terracognita for region R - resources: X, Y, Z
Jun 19 12:17:01 INFO: Importing security_group [35/35] Done!
...
Jun 19 12:17:01 INFO: Importing aws_instance [9/35] ...
Jun 19 12:17:01 DEBUG: Importing aws_instance i-123lasdjk2
Jun 19 12:17:01 DEBUG: Writing HCL aws_instance i-123lasdjk2
Jun 19 12:17:01 DEBUG: Writing State aws_instance i-123lasdjk2
Jun 19 12:17:01 DEBUG: Finished importing aws_instance i-123lasdjk2
Jun 19 12:17:01 INFO: Importing aws_instance [10/35] ...
The text was updated successfully, but these errors were encountered:
xlr-8
changed the title
Change the otput/stdout when running terracognita
Change the output/stdout when running terracognita
Jun 26, 2019
xescugc
changed the title
Change the output/stdout when running terracognita
Change the output/stdout when running terracognita also adding VERBOSE mode
Jul 12, 2019
Right now the output it's basically the logs from
terrafrom
, we should show those when we add the--verbose
flag, which does not exists ATM.The desired output would be, the one without the
--verbose
, this one:We still have some things TBD:
--verbose
? Or we want something custom?EDIT:
We'll have 2 flags
-v
and-d
:-v
we'll have the logs we had before with more custom logs (Debug) like this-d
we'll have the logs we had before with the TF ones:The text was updated successfully, but these errors were encountered: