diff --git a/splunk_license_hacking.tf.j2 b/splunk_license_hacking.tf.j2 index bda857f..c78d402 100644 --- a/splunk_license_hacking.tf.j2 +++ b/splunk_license_hacking.tf.j2 @@ -16,21 +16,6 @@ resource "coder_app" "splunk-lm" { threshold = 10 } } - -resource "coder_app" "mitmproxy" { - agent_id = coder_agent.main.id - display_name = "mitmproxy" - slug = "mitmproxy" - url = "http://localhost:8081/" - subdomain = true - share = "public" - - healthcheck { - url = "http://localhost:8081/" - interval = 3 - threshold = 10 - } -} {{ super() }} {% endblock %} @@ -63,11 +48,11 @@ resource "coder_app" "mitmproxy" { name = "mitmproxy" image = "mitmproxy/mitmproxy" command = [ - "mitmweb", + "mitmdump", "--mode", "reverse:https://localhost:8090@8091", "--ssl-insecure", - "--web-host=0.0.0.0" + "--flow-detail=4" ] image_pull_policy = "{{ image_pull_policy }}"