Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Use new docker swarm firewall module name
Browse files Browse the repository at this point in the history
  • Loading branch information
thojkooi committed Oct 7, 2017
1 parent 329d6a4 commit 621527e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions examples/firewall/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ resource "digitalocean_tag" "worker" {
name = "worker"
}

module "swarm-firewall" {
source = "github.com/thojkooi/terraform-digitalocean-swarm-firewall"
do_token = "${var.do_token}"
prefix = "example-com"
cluster_tags = ["${digitalocean_tag.cluster.id}", "${digitalocean_tag.manager.id}", "${digitalocean_tag.worker.id}"]
cluster_droplet_ids = []
allowed_outbound_addresses = ["0.0.0.0/0", "::/0"]
}

module "swarm-cluster" {
source = "github.com/thojkooi/terraform-digitalocean-docker-swarm-mode"
total_managers = 3
Expand All @@ -41,3 +32,12 @@ module "swarm-cluster" {
worker_tags = ["${digitalocean_tag.cluster.id}", "${digitalocean_tag.worker.id}"]
domain = "do.example.com"
}

module "swarm-firewall" {
source = "github.com/thojkooi/terraform-digitalocean-docker-swarm-firewall"
do_token = "${var.do_token}"
prefix = "example-com"
cluster_tags = ["${digitalocean_tag.cluster.id}", "${digitalocean_tag.manager.id}", "${digitalocean_tag.worker.id}"]
cluster_droplet_ids = []
allowed_outbound_addresses = ["0.0.0.0/0"]
}

0 comments on commit 621527e

Please sign in to comment.