terraform-provider-matchbox, support for ignition files #1922
Comments
Supporting Container Linux Configs only was by design. Container Linux Configs are human readable, human writable, and made to be processed through tools which do validations for humans (return line numbers where errors occur, etc). Ignition configs are the machine representation and are more of an internal detail. Is there a reason you cannot use a Container Linux config? |
As described in the issue, I want to use the: Since Container Linux config file is designed for user, I don't find any reason to change the ignition provider to generate Container Linux config, Since the interface to manipulate a ignition file is the provider. |
I'd rather see a Container Linux Config Terraform Provider validating with https://github.com/coreos/terraform-provider-ct is an example of a project which accepts Container Linux configs directly and validates them with |
Another aim is that terraform-provider-matchbox, as a fresh project, just supports the recommended config we'd like users to input, so there is no user confusion. For example, I've held out on adding Cloud-Config support for the same reason, though it would have been simple to add. Raw Ignition and Cloud-config are technically supported by Matchbox, but adding them to the provider isn't a decision that is easily undone. |
Using About |
|
Yep, and this is exactly what you have at the ignition provider. Also is something that is being use since months, tested and debugged. |
They look similar, but are not the same. I'd prefer terraform users use Terraform to build a Container Linux config, rather than using Terraform to build a raw Ignition config. I'm anticipating Ignition becoming more of an internal implementation detail in future, with the Container Linux Config being the human friendly format users and clients input to Container Linux. I'll check with a few others to see if those plan have changed at all. |
Hey @mcuadros, seems like consensus is that its not too harmful to allow raw ignition to be passed by those who want it. However, passing Container Linux Config's is the approach we recommend and the one we'll show in documentation and examples. Passing raw Ignition will get a passing mention since it circumvents the usual flow which enforces configs go through ct (binary or package) - users will get machine error reports, not pretty human error reports. |
Implemented at poseidon/terraform-provider-matchbox@011ced7 |
Feature Request
The new
terraform-provider-matchbox
, doesn't support Ignition files, only supports CL config files.Desired Feature
Support ignition files, ir order to be able to use the built-in
ignition
provider.The extension of the
InigitionId
file at the profile is hardcode with the suffix.yaml.tmpl
The text was updated successfully, but these errors were encountered: