You can use this in your terraform template with the following steps. Adding a module resource to your template, e.g. main.tf module "oss-object" { source ...
It is tested on Python 2.7, 3.4, 3.5 and 3.6. It requires numpy and scipy.