summaryrefslogtreecommitdiffstats
path: root/metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm
diff options
context:
space:
mode:
Diffstat (limited to 'metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm')
-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