The UpCloud importer can be used to import raw disk images as private templates to UpCloud.
Required
Username and password configuration arguments can be omitted if environment variables UPCLOUD_USERNAME and UPCLOUD_PASSWORD are set.
username (string) - The username to use when interfacing with the UpCloud API.
password (string) - The password to use when interfacing with the UpCloud API.
zones ([]string) - The list of zones in which the template should be imported
template_name (string) - The name of the template. Use replace_existing to replace existing template
with same name or suffix template name with e.g. timestamp to avoid errors during import
Optional
replace_existing (bool) - Replace existing template if one exists with the same name. Defaults to false.
state_timeout_duration (duration string | ex: "1h5m2s") - The amount of time to wait for resource state changes. Defaults to 60m.
Example Usage
Import raw disk image from filesystem using compress post-processor to compress image before upload