{"id":17679347,"url":"https://github.com/bbkane/azfunc-tf","last_synced_at":"2026-01-08T07:44:12.563Z","repository":{"id":87170740,"uuid":"407319340","full_name":"bbkane/azfunc-tf","owner":"bbkane","description":"Azure Functions + TF - thanks for permission for this Tom","archived":false,"fork":false,"pushed_at":"2021-09-16T21:26:22.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T19:49:30.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbkane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-09-16T21:26:03.000Z","updated_at":"2021-09-16T21:26:25.000Z","dependencies_parsed_at":"2023-03-13T19:44:50.602Z","dependency_job_id":null,"html_url":"https://github.com/bbkane/azfunc-tf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fazfunc-tf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fazfunc-tf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fazfunc-tf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbkane%2Fazfunc-tf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbkane","download_url":"https://codeload.github.com/bbkane/azfunc-tf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246361311,"owners_count":20764904,"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-10-24T08:22:10.219Z","updated_at":"2026-01-08T07:44:12.515Z","avatar_url":"https://github.com/bbkane.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"Generally to iterate, copy the function directory and rename it. For the README, I've renamed it to \"function_app_name\" here (which happens to be an illegal URL, but whatever).\n\n\n```\nfunction_app_hostname = \"function_app_name.azurewebsites.net\"\nfunction_app_name = \"function_app_name\"\n```\n\n```\nfunc azure functionapp publish function_app_name\n```\n\n```\nInvoke url: https://function_app_name.azurewebsites.net/api/my_function\n```\n\nCan also start from scratch with something like:\n\n```\n# from ./06_more_auth_from_tf\nfunc init fnhw06-01-fa-dev-bbk --python\ncd fnhw06-01-fa-dev-bbk\npython3 -m venv venv\nsource ./venv/bin/activate\npip install -r requirements.txt\npip freeze --requirement requirements.txt | sponge requirements.txt\nfunc new --name fnhw06-01-fn-dev-bbk --template \"HTTP trigger\" --authlevel \"anonymous\"\nfunc start  # test locally\ncurl http://localhost:7071/api/fnhw06-01-fn-dev-bbk\n```\n\n```\nfunc azure functionapp publish fnhw06-01-fa-dev-bbk\n```\n\nNOTE that the newlines will be `\\r\\n` instead of `\\n` - see https://github.com/Azure/azure-functions-core-tools/issues/2673\n\nThat's probably enough for now...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fazfunc-tf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbkane%2Fazfunc-tf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbkane%2Fazfunc-tf/lists"}