bridge: use bundled modules

This commit is contained in:
Iain Learmonth 2022-08-30 10:24:58 +01:00
parent 32239c379a
commit 3163286e88
5 changed files with 5 additions and 8 deletions

View file

@ -64,8 +64,7 @@ class BridgeHcloudAutomation(BridgeAutomation):
}
module "bridge_{{ bridge.id }}" {
source = "sr2c/tor-bridge/hcloud"
version = "0.0.3"
source = "{{ terraform_modules_path }}/terraform-hcloud-tor-bridge"
datacenter = one(random_shuffle.datacenter_{{ bridge.id }}.result)
context = module.label_{{ bridgeconf.group.id }}.context
name = "br"