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
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
ERROR: Inventory script (../terraform/support/terraform.py) had an execution error: Traceback (most recent call last):
File "/opt/terraform/support/terraform.py", line 619, in <module>
main()
File "/opt/terraform/support/terraform.py", line 604, in main
output = query_list(hosts)
File "/opt/terraform/support/terraform.py", line 546, in query_list
for name, attrs, hostgroups in hosts:
File "/opt/terraform/support/terraform.py", line 67, in iterhosts
yield parser(resource, module_name)
File "/opt/terraform/support/terraform.py", line 83, in inner
name, attrs, groups = func(*args, **kwargs)
File "/opt/terraform/support/terraform.py", line 153, in digitalocean_host
'metadata': json.loads(raw_attrs['user_data']),
KeyError: u'user_data'
The text was updated successfully, but these errors were encountered:
Other issues might arise after applying this patch (for instance, I'm not sure about what could happen with a Cloud-Config script as a droplet's user data), so be very careful: I haven't tested it properly!
Cheers.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: