summaryrefslogtreecommitdiffstats
path: root/metrics-proxy/src/main/resources
diff options
context:
space:
mode:
authorOla Aunrønning <olaa@verizonmedia.com>2020-02-14 18:21:16 +0100
committerOla Aunrønning <olaa@verizonmedia.com>2020-02-20 11:09:59 +0100
commitee4be19769784b0e27efb77012f14e38a8ca986b (patch)
treed0e14d08942de3e8e449d9de4882ba287423168a /metrics-proxy/src/main/resources
parent6f119796b599173a8c92930575c87924d81f05e2 (diff)
Consider if cloudwatch profile is set. Removed compile specification in pom.
Diffstat (limited to 'metrics-proxy/src/main/resources')
-rw-r--r--metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm4
1 files changed, 2 insertions, 2 deletions
diff --git a/metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm b/metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm
index 22349e34d67..fd1943fc50e 100644
--- a/metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm
+++ b/metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm
@@ -16,7 +16,7 @@
#if( $isHosted )
access_key = "$cloudwatchSecretKey"
secret_key = "$cloudwatchAccessKey"
-#else
+#elseif( $hasCloudwatchProfile )
profile = "$cloudwatchProfile"
#end
@@ -27,4 +27,4 @@
tls_cert = "${VESPA_CERTIFICATE_PATH}"
tls_key = "${VESPA_KEY_PATH}"
insecure_skip_verify = true
-#end \ No newline at end of file
+#end