-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathoutputs.tf
More file actions
39 lines (32 loc) · 1.44 KB
/
Copy pathoutputs.tf
File metadata and controls
39 lines (32 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
output "id" {
description = "The ID of this resource"
value = fastly_service_vcl.app_service.id
}
output "active_version" {
description = "The currently active version of the Fastly Service"
value = fastly_service_vcl.app_service.active_version
}
output "cloned_version" {
description = "The latest cloned version by the provider"
value = fastly_service_vcl.app_service.cloned_version
}
output "ip_blocklist_acl_id" {
description = "ID of the IP blocklist ACL"
value = var.ip_blocklist ? fastly_service_acl_entries.ip_blocklist_entries["IP Block list"].acl_id : null
}
output "as_blocklist_dictionary_id" {
description = "ID of the AS blocklist dictionary"
value = var.as_blocklist ? fastly_service_dictionary_items.as_blocklist_entries["AS Blocklist"].dictionary_id : null
}
output "as_request_blocklist_dictionary_id" {
description = "ID of the AS request blocklist dictionary"
value = var.as_blocklist ? fastly_service_dictionary_items.as_request_blocklist_entries["AS Requests Blocklist"].dictionary_id : null
}
output "ja3_blocklist_dictionary_id" {
description = "ID of the JA3 blocklist dictionary"
value = var.ja3_blocklist ? fastly_service_dictionary_items.ja_blocklist_entries["JA3 Blocklist"].dictionary_id : null
}
output "tls_certificate_id" {
description = "ID of the certificate issued by Fastly"
value = var.tls_enable ? fastly_tls_subscription.tls[0].certificate_id : null
}