-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.tf
More file actions
38 lines (34 loc) · 809 Bytes
/
sample.tf
File metadata and controls
38 lines (34 loc) · 809 Bytes
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
terraform {
required_providers {
bridge = {
source = "jfrog/bridge"
version = "0.0.1"
}
}
}
provider "bridge" {
url = "https://client_URL:8082"
access_token = ""
insecure = true # Skip TLS certificate verification (use with caution)
}
# Minimal bridge resource example
resource "bridge" "resource_name" {
bridge_id = "resource_name"
pairing_token = "<paring_token>" # required on create
remote = {
url = "https://remote_URL"
insecure = true
# proxy = {
# enabled = true
# cache_expiration_secs = 3600
# key = "platform"
# scheme_override = ""
# }
}
local = {
url = "https://:8082"
anonymous_endpoints = [
".*/system/(ping|readiness|liveness)",
]
}
}