Skip to content

Commit

Permalink
Merge pull request #7 from aigisuk/develop
Browse files Browse the repository at this point in the history
🐛 fix output name
  • Loading branch information
colinwilson authored Apr 21, 2021
2 parents e2cfe09 + 5d1b5d4 commit fa3f576
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
1 change: 0 additions & 1 deletion database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 6 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit fa3f576

Please sign in to comment.