Closed julianxhokaxhiu closed 6 years ago
After further investigations I found out this has nothing to do with your plugin, nor with terraform itself.
The issue is related to the fact that this line
ExecStart=/usr/bin/docker run --rm
is missing an ending \
, and because of that the coreos systemd library that deserializes the unit returns that error.
All good :) Thanks and sorry for the noise.
I'll leave this issue here in case is helpful for someone else.
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v0.11.7
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
Expected Behavior
The ignition config should have been created. Systemd unit file is kept multiline for better readability.
Actual Behavior
The systemd unit file is not been accepted, instead the ignition provider expects the string to be one single line with
\n
characters inside of it.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply