score-compose
score-compose copied to clipboard
`service` resource type not supported
I have this score.file
:
apiVersion: score.dev/v1b1
metadata:
name: store-front
containers:
store-front:
image: .
variables:
VUE_APP_ORDER_SERVICE_URL: "http://${resources.order-service.name}:3000/"
resources:
order-service:
type: service
But I'm getting this error while running score-compose generate
:
Error: failed to provision: resource 'service.default#store-front.order-service' is not supported by any provisioner
I understand that service-port
has been supported only for score-compose
? But how to make sure that I have the same Score file compatible with score-compose
and Humanitec?