Skip to content

Store Redis caching instance credentials in Vault

What

In Provisoner, store Redis caching credentials under existing service secrets path based on outputs from #351 (closed), e.g. env/$RUNWAY_ENVIRONMENT/service/$RUNWAY_SERVICE/runway_redis/$RUNWAY_REGION/*. Context: https://docs.runway.gitlab.com/reference/blueprints/redis/#integration

We also need to store in Vault the Redis AUTH string and the CA cert. Both of these are required for connecting to Redis and are available as attributes on google_redis_instance. Fortunately, the memorystore Terraform module we're using provides these as outputs.

Why

For reconciler to retrieve Redis caching credentials.

Tasks

  • Password
  • Host
  • Port
  • Read Endpoint
  • Read Port
Edited by Chance Feick