Terraform config for running instances in Scaleway
Add environmental variables with Scaleway API credentials
export SCALEWAY_ORGANIZATION=xxx
export SCALEWAY_TOKEN=yyy
From folder with config execute:
# to initialize
terraform init
# to create instance
terraform apply -auto-approve
# to destroy
terraform destroy -force
- description of Scaleway provider for Terraform https://www.terraform.io/docs/providers/scaleway/index.html