{"id":17963431,"url":"https://github.com/fiftin/str_to_azure_template_str","last_synced_at":"2026-05-17T00:10:57.013Z","repository":{"id":141531590,"uuid":"203432749","full_name":"fiftin/str_to_azure_template_str","owner":"fiftin","description":"Simple tool for converting strings to valid Azure Resource Manager template strings","archived":false,"fork":false,"pushed_at":"2019-10-31T14:16:07.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-28T22:25:02.376Z","etag":null,"topics":["azure","azure-templates","converter","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fiftin.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":"2019-08-20T18:31:29.000Z","updated_at":"2020-01-20T17:41:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"961a444b-6506-471b-99d1-04077d9fbad5","html_url":"https://github.com/fiftin/str_to_azure_template_str","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fiftin/str_to_azure_template_str","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiftin%2Fstr_to_azure_template_str","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiftin%2Fstr_to_azure_template_str/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiftin%2Fstr_to_azure_template_str/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiftin%2Fstr_to_azure_template_str/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fiftin","download_url":"https://codeload.github.com/fiftin/str_to_azure_template_str/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiftin%2Fstr_to_azure_template_str/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278703580,"owners_count":26031204,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["azure","azure-templates","converter","golang"],"created_at":"2024-10-29T11:37:06.684Z","updated_at":"2025-10-07T00:33:36.435Z","avatar_url":"https://github.com/fiftin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What is it?\n\nSimple tool for converting strings to valid Azure Resource Manager template strings.\n\nIt useful for passing a lot of data to VM by custom data in ARM templates.\n\nFor example you need pass some data to VM. In ARM template it can looks like:\n\n```\n{\n...\n\"customData\": \"[base64(concat('#!/bin/sh\\n\\ncat \u003e /home/ec2-user/config.json \u003c\u003c CONFIG\\n{\\n   \\\"domain\\\": \\\"',reference(parameters('frontIpName')).dnsSettings.fqdn,'\\\",\\n    \\\"sslKey\\\": \\\"',parameters('domainSslKey'),'\\\"\\n}\\nCONFIG\\n\\nsh /home/ec2-user/init.sh\\n'))]\",\n...\n}\n```\n\nIt is hell. And it is not a lot of data.\n\nThis tool converts next readable text to string above:\n\n```\n#!/bin/sh\n\ncat \u003e /home/ec2-user/config.json \u003c\u003c CONFIG\n{\n\t\"domain\": \"${reference(parameters('frontIpName')).dnsSettings.fqdn}\",\n\t\"sslKey\": \"${parameters('domainSslKey')}\"\n}\nCONFIG\n\nsh /home/ec2-user/init.sh\n\n\n```\n\n## How to install?\n\n```\ngo get github.com/fiftin/str_to_azure_template_str\ngo install github.com/fiftin/str_to_azure_template_str\n```\n\n## How to use?\n```\nstr_to_azure_template_str \u003c test.txt\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiftin%2Fstr_to_azure_template_str","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiftin%2Fstr_to_azure_template_str","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiftin%2Fstr_to_azure_template_str/lists"}