43 lines
1.1 KiB
Markdown
43 lines
1.1 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "artifactapi_local_generic Resource - artifactapi"
|
|
subcategory: ""
|
|
description: |-
|
|
Manages a local ArtifactAPI generic repository for hosting arbitrary files (e.g. rootfs tarballs).
|
|
---
|
|
|
|
# artifactapi_local_generic (Resource)
|
|
|
|
Manages a local ArtifactAPI generic repository for hosting arbitrary files (e.g. rootfs tarballs).
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "artifactapi_local_generic" "rootfs_images" {
|
|
name = "rootfs-images"
|
|
description = "Prebuilt node rootfs tarballs (bootapi image provisioning)"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `name` (String) Unique name of the local Generic repository.
|
|
|
|
### Optional
|
|
|
|
- `description` (String) Human-readable description.
|
|
|
|
## Import
|
|
|
|
Import is supported using the following syntax:
|
|
|
|
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
|
|
|
|
```shell
|
|
# Import by name.
|
|
terraform import artifactapi_local_generic.rootfs_images rootfs-images
|
|
```
|