Compute – Startup Scripts
How startup scripts work
Defining a startup script
resource "verda_startup_script" "basic" {
name = "basic-setup"
script = <<-EOF
#!/bin/bash
set -e
apt-get update
apt-get install -y curl wget git
EOF
}Attaching a startup script to an instance
Common use cases
Best practices
Importing existing startup scripts
Notes and limitations
Last updated
Was this helpful?