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
Hello, the program is not working for me because of that error. I have a terraform.tfstate file generated with 0.12 in the directory where I'm running the command. The state includes one aws_instance. I'm on macOS Catalina.
~/Documents/Code/infrastructure master ● ansible --inventory-file=/usr/local/bin/terraform-inventory all -m ping
[WARNING]: * Failed to parse /usr/local/bin/terraform-inventory with script plugin: Inventory script (/usr/local/bin/terraform-inventory) had an execution error: Error reading tfstate file: 0.12
format error: <nil>; pre-0.12 format error: <nil> (nil error means no content/modules found in the respective format)
[WARNING]: * Failed to parse /usr/local/bin/terraform-inventory with yaml plugin: 'utf-8' codec can't encode characters in position 0-3: surrogates not allowed
[WARNING]: * Failed to parse /usr/local/bin/terraform-inventory with ini plugin: /usr/local/bin/terraform-inventory:2: Expected key=value host variable assignment, got:
H__PAGEZEROx__TEXT�
[WARNING]: Unable to parse /usr/local/bin/terraform-inventory as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: embedded null byte
���� | FAILED! => {
"msg": "Unexpected failure during module execution.",
"stdout": ""
}
The text was updated successfully, but these errors were encountered:
Hello, the program is not working for me because of that error. I have a terraform.tfstate file generated with 0.12 in the directory where I'm running the command. The state includes one aws_instance. I'm on macOS Catalina.
The text was updated successfully, but these errors were encountered: