Skip to content

Instantly share code, notes, and snippets.

@amaudy
Created September 3, 2022 14:01
Show Gist options
  • Save amaudy/cdaf1e434bbf8e32a4644efd36de153a to your computer and use it in GitHub Desktop.
Save amaudy/cdaf1e434bbf8e32a4644efd36de153a to your computer and use it in GitHub Desktop.
Terraform provider file.
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "2.12.0"
}
}
}
provider "digitalocean" {
token = var.do_token
}
data "digitalocean_ssh_key" "terraform" {
name = var.do_private_key
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment