terraform

terraform scripts
Log | Files | Refs | README

provider.tf (308B)


      1 terraform {
      2   required_providers {
      3     digitalocean = {
      4       source = "digitalocean/digitalocean"
      5       version = "~> 2.0"
      6     }
      7   }
      8 }
      9 
     10 variable "do_token" {}
     11 variable "pvt_key" {}
     12 
     13 provider "digitalocean" {
     14   token = var.do_token
     15 }
     16 
     17 data "digitalocean_ssh_key" "terraform" {
     18   name = "Desktop Townhouse"
     19 }