Describes a link to be created in a particular filesystem.
data "ignition_link" "symlink" {
filesystem = "foo"
path = "/symlink"
target = "/foo"
}
The following arguments are supported:
filesystem - (Required) The internal identifier of the filesystem. This matches the last filesystem with the given identifier. This should be a valid name from a ignition_filesystem resource.
path - (Required) The absolute path to the link.
target - (Required) The target path of the link.
hard - (Optional) A symbolic link is created if this is false, a hard one if this is true.
uid - (Optional) The user ID of the owner.
gid - (Optional) The group ID of the owner.
The following attributes are exported:
id - ID used to reference this resource in ignition_config.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/ignition/d/link.html