layout | page_title | sidebar_current | description |
---|---|---|---|
ignition |
Ignition: ignition_link |
docs-ignition-datasource-link |
Describes a link to be created in a particular filesystem. |
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:
rendered
- The rendered template to reference this resource in ignition_config.