proxies: add support for bypass token
This commit is contained in:
parent
6d989db3ef
commit
018494bd58
3 changed files with 7 additions and 8 deletions
|
@ -65,7 +65,7 @@ class ProxyCloudfrontAutomation(ProxyAutomation):
|
|||
{% for proxy in proxies %}
|
||||
module "cloudfront_{{ proxy.id }}" {
|
||||
source = "sr2c/bc-proxy/aws"
|
||||
version = "0.0.5"
|
||||
version = "0.0.7"
|
||||
origin_domain = "{{ proxy.origin.domain_name }}"
|
||||
logging_bucket = module.log_bucket_{{ proxy.origin.group.id }}.bucket_domain_name
|
||||
sns_topic_arn = aws_sns_topic.alarms_{{ proxy.origin.group.id }}.arn
|
||||
|
@ -73,6 +73,7 @@ class ProxyCloudfrontAutomation(ProxyAutomation):
|
|||
context = module.label_{{ proxy.origin.group.id }}.context
|
||||
name = "proxy"
|
||||
attributes = ["{{ proxy.origin.domain_name }}"]
|
||||
bypass_token = "{{ bypass_token }}"
|
||||
}
|
||||
{% endfor %}
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue