{"id":19357522,"url":"https://github.com/e-breuninger/terraform-provider-ignition","last_synced_at":"2025-06-10T18:12:59.573Z","repository":{"id":157367214,"uuid":"633434050","full_name":"e-breuninger/terraform-provider-ignition","owner":"e-breuninger","description":"This provider allows Terraform to validate a Butane configuration and transpile it to an Ignition configuration.","archived":false,"fork":false,"pushed_at":"2025-05-28T07:43:53.000Z","size":10905,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T01:53:04.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/e-breuninger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-04-27T13:42:26.000Z","updated_at":"2024-11-27T22:36:10.000Z","dependencies_parsed_at":"2024-02-04T21:03:45.580Z","dependency_job_id":"e04d7938-a0f5-420c-877e-2b34e89371d3","html_url":"https://github.com/e-breuninger/terraform-provider-ignition","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-breuninger%2Fterraform-provider-ignition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-breuninger%2Fterraform-provider-ignition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-breuninger%2Fterraform-provider-ignition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-breuninger%2Fterraform-provider-ignition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-breuninger","download_url":"https://codeload.github.com/e-breuninger/terraform-provider-ignition/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-breuninger%2Fterraform-provider-ignition/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259123921,"owners_count":22808876,"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-10T07:07:55.031Z","updated_at":"2025-06-10T18:12:59.505Z","avatar_url":"https://github.com/e-breuninger.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-provider-ignition\n\n`terraform-provider-ignition` allows Terraform to validate a [Butane configuration](https://coreos.github.io/butane/specs/) and transpile it to an [Ignition configuration](https://coreos.github.io/ignition/).\n\nThe Butane configuration is transpiled to the corresponding ignition version according to the [Butane specification](https://coreos.github.io/butane/specs/#butane-specifications-and-ignition-specifications).  \nThe Butane version is taken from the `content` attribute.\n\nThe Ignition versions `3.0.0`, `3.1.0`, `3.2.0`, `3.3.0` and `3.4.0` are supported.\n\n## Usage\n\nConfigure the config transpiler provider (e.g. `providers.tf`).\n\n```tf\nprovider \"ignition\" {}\n\nterraform {\n  required_providers {\n    ignition = {\n      source  = \"e-breuninger/ignition\"\n      version = \"1.0.6\"\n    }\n  }\n}\n```\n\nDefine a Butane config for Fedora CoreOS or Flatcar Linux:\n\n```yaml\nvariant: fcos\nversion: 1.5.0\npasswd:\n  users:\n    - name: core\n      ssh_authorized_keys:\n        - ssh-key foo\n```\n\n```yaml\nvariant: flatcar\nversion: 1.1.0\npasswd:\n  users:\n    - name: core\n      ssh_authorized_keys:\n        - ssh-key foo\n```\n\nDefine a `ignition_config` data source with strict validation.\n\n```tf\ndata \"ignition_config\" \"worker\" {\n  content      = file(\"worker.yaml\")\n  strict       = true\n  pretty_print = false\n\n  snippets = [\n    file(\"units.yaml\"),\n    file(\"storage.yaml\"),\n  ]\n}\n```\n\nOptionally, template the `content`.\n\n```tf\ndata \"ignition_config\" \"worker\" {\n  content = templatefile(\"worker.yaml\", {\n    ssh_authorized_key = \"ssh-ed25519 AAAA...\",\n  })\n  strict       = true\n}\n```\n\nRender the `ignition_config` as Ignition for use by machine instances.\n\n```tf\nresource \"aws_instance\" \"worker\" {\n  user_data = data.ignition_config.worker.rendered\n}\n```\n\nRun `terraform init` to ensure plugin version requirements are met.\n\n```\n$ terraform init\n```\n\n## Requirements\n\n* Terraform v0.13+ [installed](https://www.terraform.io/downloads.html)\n\n## Credits\n\nThis provider is a fork of the terraform provider [poseidon/ct](https://github.com/poseidon/terraform-provider-ct)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-breuninger%2Fterraform-provider-ignition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-breuninger%2Fterraform-provider-ignition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-breuninger%2Fterraform-provider-ignition/lists"}