Using Cached Services
Last updated
Last updated
Before you adjust your terraform services to use a cached service, you'll first want to connect the cached service to your template with Gallery. To do this, go to the cached services tab, and click "Link Cached Service."
When you link a cached service with Gallery, we add a terraform_remote_state
data source to connect the cached service with your template. Therefore, if you have a cached service named db_service
and you'd like to access the db_name
output, you would need to access the data.terraform_remote_state.db_service.outputs.db_name
selector from within your template terraform.