Renaming www in terraform until next www server

This commit is contained in:
Samuel Clay 2022-04-01 16:11:15 -04:00
parent 21e872bddc
commit 203a6048bf
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
---
- name: SETUP -> app containers
hosts: web
# serial: "50%"
serial: "3"
vars_files:
- ../env_vars/base.yml
vars:

View file

@ -46,9 +46,9 @@ resource "digitalocean_droplet" "db-consul" {
}
resource "digitalocean_droplet" "www" {
count = 2
count = 1
image = var.droplet_os
name = "www${count.index+1}"
name = "www${count.index+2}"
region = var.droplet_region
size = var.droplet_size_15
ssh_keys = [digitalocean_ssh_key.default.fingerprint]