{"id":20559095,"url":"https://github.com/opentofu/terraform-provider-lua","last_synced_at":"2025-04-14T13:43:45.015Z","repository":{"id":234249236,"uuid":"788041894","full_name":"opentofu/terraform-provider-lua","owner":"opentofu","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-24T12:29:44.000Z","size":28,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-04-24T15:54:19.194Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opentofu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-17T17:04:59.000Z","updated_at":"2024-06-19T12:33:57.549Z","dependencies_parsed_at":"2024-04-24T12:49:47.540Z","dependency_job_id":null,"html_url":"https://github.com/opentofu/terraform-provider-lua","commit_stats":null,"previous_names":["opentofu/terraform-provider-lua"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentofu%2Fterraform-provider-lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentofu%2Fterraform-provider-lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentofu%2Fterraform-provider-lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentofu%2Fterraform-provider-lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opentofu","download_url":"https://codeload.github.com/opentofu/terraform-provider-lua/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248890247,"owners_count":21178386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T03:48:47.034Z","updated_at":"2025-04-14T13:43:44.986Z","avatar_url":"https://github.com/opentofu.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# terraform-provider-lua\n\nThis is an experimental OpenTofu and Terraform function provider based on terraform-plugin-go.\n\nIt provides an \"exec\" function which takes a lua program as the first parameter and passes all additional parameters to the function defined in the lua file.\n\n```hcl\nlocals {\n    lua_echo = \u003c\u003cEOT\n\nfunction echo( input )\n    return input\nend\n\nreturn echo\n\nEOT\n}\n\noutput \"example\" {\n    value = provider::lua::exec(local.lua_echo, {\"foo\": {\"bar\": 42}})\n}\n```\n\nIn OpenTofu 1.7.0-beta1 you may configure the provider and pass it a lua library to load.  Any functions exposed in this library\nwill be available as functions within the tofu configuration.  This feature is an experimental preview and is subject to change\nbefore the OpenTofu 1.7.0 release.\n\n```hcl\nprovider \"lua\" {\n    lua = file(\"./lib.lua\")\n}\n\noutput \"example\" {\n    value = provider::lua::echo({\"message\": \"Hello Functions!\"})\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentofu%2Fterraform-provider-lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopentofu%2Fterraform-provider-lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentofu%2Fterraform-provider-lua/lists"}