Azure - Storage fails to deploy because undefined environment variable referenced
Commit 1610f62e added a line to provider/storage-azure/src/main/resources/application.properties
referencing an environment variable ${keyvault_url}
. The variable that is passed in is not called ${keyvault_url}
, but rather ${KEYVAULT_URI}. Referencing this undefined environment variable causes deployments of storage service to fail with the follow error:
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cloudStorageImpl': Unsatisfied dependency expressed through field 'recordRepository'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'recordMetadataRepository': Unsatisfied dependency expressed through field 'azureBootstrapConfig'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'azureBootstrapConfig': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'keyvault_url' in value "${keyvault_url}"