Manages custom startup scripts for automating server initialization tasks on Vultr instances.
Get information about a Vultr startup script. This data source provides the name, script, type, creation date, and the last modification date for your Vultr startup script.
Get the information for a startup script by name
:
data "vultr_startup_script" "my_startup_script" {
filter {
name = "name"
values = ["my-startup-script-name"]
}
}
The following arguments are supported:
filter
- (Required) Query parameters for finding startup scripts.The filter
block supports the following:
name
- Attribute name to filter with.values
- One or more values filter with.The following attributes are exported:
name
- The name of the startup script.script
- The contents of the startup script base64 encoded.type
- The type of the startup script.date_created
- The date the startup script was added to your Vultr account.date_modified
- The date the startup script was last modified.
No comments yet.