outputs.tf 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. output "id" {
  2. description = "The ID of this resource"
  3. value = fastly_service_vcl.app_service.id
  4. }
  5. output "active_version" {
  6. description = "The currently active version of the Fastly Service"
  7. value = fastly_service_vcl.app_service.active_version
  8. }
  9. output "cloned_version" {
  10. description = "The latest cloned version by the provider"
  11. value = fastly_service_vcl.app_service.cloned_version
  12. }
  13. output "ip_blocklist_acl_id" {
  14. description = "ID of the IP blocklist ACL"
  15. value = var.ip_blocklist ? fastly_service_acl_entries.ip_blocklist_entries["IP Block list"].acl_id : null
  16. }
  17. output "as_blocklist_dictionary_id" {
  18. description = "ID of the AS blocklist dictionary"
  19. value = var.as_blocklist ? fastly_service_dictionary_items.as_blocklist_entries["AS Blocklist"].dictionary_id : null
  20. }
  21. output "as_request_blocklist_dictionary_id" {
  22. description = "ID of the AS request blocklist dictionary"
  23. value = var.as_blocklist ? fastly_service_dictionary_items.as_request_blocklist_entries["AS Requests Blocklist"].dictionary_id : null
  24. }
  25. output "ja3_blocklist_dictionary_id" {
  26. description = "ID of the JA3 blocklist dictionary"
  27. value = var.ja3_blocklist ? fastly_service_dictionary_items.ja_blocklist_entries["JA3 Blocklist"].dictionary_id : null
  28. }