Delete web-server host
This commit is contained in:
parent
4cce60af67
commit
33651cdc8f
@ -1 +0,0 @@
|
||||
export ANSIBLE_INVENTORY="$(expand_path hosts.ini)"
|
@ -1,2 +0,0 @@
|
||||
jeremydormitzer.com
|
||||
wallabag.jeremydormitzer.com
|
@ -1,13 +0,0 @@
|
||||
provider "digitalocean" {
|
||||
token = var.do_token
|
||||
spaces_access_id = var.spaces_access_id
|
||||
spaces_secret_key = var.spaces_secret_key
|
||||
}
|
||||
|
||||
resource "digitalocean_droplet" "jdormit_website" {
|
||||
name = "web-server"
|
||||
image = "50901536"
|
||||
region = "nyc1"
|
||||
size = "s-1vcpu-1gb"
|
||||
backups = true
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
output "jdormit_website_ip_address" {
|
||||
value = digitalocean_droplet.jdormit_website.ipv4_address
|
||||
}
|
||||
|
||||
output "jdormit_website_urn" {
|
||||
value = digitalocean_droplet.jdormit_website.urn
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
digitalocean = {
|
||||
source = "digitalocean/digitalocean"
|
||||
version = "~> 2.3.0"
|
||||
}
|
||||
}
|
||||
|
||||
backend "s3" {
|
||||
skip_credentials_validation = true
|
||||
skip_metadata_api_check = true
|
||||
# Need to specify an AWS region to stop Terraform complaining
|
||||
region = "us-east-1"
|
||||
endpoint = "nyc3.digitaloceanspaces.com"
|
||||
bucket = "jdormit-tf-state"
|
||||
key = "prod/web-server.tfstate"
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
variable "do_token" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "spaces_access_id" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "spaces_secret_key" {
|
||||
type = string
|
||||
}
|
Loading…
Reference in New Issue
Block a user