diff --git a/LICENSE b/LICENSE index 4d43908..2ccb305 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright © 2021 AIGIS Services Ltd +Copyright © 2021 AIGIS Services Ltd, Colin Wilson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/database.tf b/database.tf index 76c585d..eeb97bb 100644 --- a/database.tf +++ b/database.tf @@ -3,7 +3,6 @@ resource "digitalocean_database_user" "dbuser" { name = var.database_user } - resource "digitalocean_database_cluster" "k3s" { name = "k3s-ext-datastore" engine = var.database_engine == "postgres" ? "pg" : "mysql" diff --git a/outputs.tf b/outputs.tf index 905ab4e..d671ee8 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,3 +1,8 @@ +output "api_load_balancer_ip" { + description = "IP address of the API server load balancer" + value = digitalocean_loadbalancer.k3s_lb.ip +} + output "name" { description = "Droplet Name" value = digitalocean_droplet.k3s_server.*.name @@ -23,6 +28,7 @@ output "ipv4_address_private" { value = digitalocean_droplet.k3s_server.*.ipv4_address_private } +# Output should be the Total cost of the droplets provisioned output "price_monthly" { description = "Droplet Monthly Price" value = digitalocean_droplet.k3s_server.*.price_monthly