diff options
author | Ola Aunrønning <olaa@verizonmedia.com> | 2020-02-14 18:21:16 +0100 |
---|---|---|
committer | Ola Aunrønning <olaa@verizonmedia.com> | 2020-02-20 11:09:59 +0100 |
commit | ee4be19769784b0e27efb77012f14e38a8ca986b (patch) | |
tree | d0e14d08942de3e8e449d9de4882ba287423168a /metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm | |
parent | 6f119796b599173a8c92930575c87924d81f05e2 (diff) |
Consider if cloudwatch profile is set. Removed compile specification in pom.
Diffstat (limited to 'metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm')
-rw-r--r-- | metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm | 4 |
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 |