diff --git a/app/terraform/proxy/cloudfront.py b/app/terraform/proxy/cloudfront.py index 063b9d5..8dbf031 100644 --- a/app/terraform/proxy/cloudfront.py +++ b/app/terraform/proxy/cloudfront.py @@ -92,8 +92,7 @@ class ProxyCloudfrontAutomation(ProxyAutomation): {% for origin in group.origins | selectattr("destroyed", "none") | selectattr("smart") %} {% if loop.first %} module "smart_proxy_{{ group.id }}" { - source = "sr2c/bc-smart-proxy-instance/aws" - version = "0.0.3" + source = "{{ terraform_modules_path }}/terraform-aws-bc-smart-proxy-instance" context = module.label_{{ group.id }}.context name = "smart-proxy" disable_api_termination = false @@ -122,8 +121,7 @@ class ProxyCloudfrontAutomation(ProxyAutomation): {% for proxy in proxies %} module "cloudfront_{{ proxy.id }}" { - source = "sr2c/bc-proxy/aws" - version = "0.0.10" + source = "{{ terraform_modules_path }}/terraform-aws-bc-proxy" {% if proxy.origin.smart %} origin_domain = "origin-{{ proxy.origin.id }}.cloudfront.smart.{{ smart_zone[:-1] }}" {% else %}