AdvancedLinuxAdmin/terraform/digitalocean/provider.tf

20 lines
311 B
Terraform
Raw Permalink Normal View History

2021-10-25 23:26:18 +00:00
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "1.22.2"
}
}
}
variable "do_token" {}
variable "pvt_key" {}
provider "digitalocean" {
token = var.do_token
}
data "digitalocean_ssh_key" "terraform" {
name = "advancedlsa-ed25519"
}