I am trying to get an introduction to the spring cloud application working with the Cloud Foundry instance that I am running on my machine. I tried to click the application and I get this message:
Could not find postgres-service for binding to hello-spring -cloud
So, I started tracking postgres service. When I launch cf marketplace, I get
service plans description
mongodb default MongoDB NoSQL database
postgresql default PostgreSQL database
rabbitmq default RabbitMQ message queue
redis default Redis key-value store
I try to create an instance of the postgresql service service and I get:
cf create-service postgresql default postgresql-service
Creating service instance postgresql-service in org xyz / space development as admin ...
FAILED
Server error, status code: 500, error code: 10001, message: Service broker error: Not authorized
I tried running cf create-service-auth-token postgresql core 123 , but this did not help with the message "Not authorized".
I'm new to Cloud Foundry, so I'm a little lost. How do I get an example application for binding to the postgresql service?
Update
Here are the permissions for the space:
Getting users in org xyz / space development as admin
SPACE MANAGER
admin
SPACE DEVELOPER
admin
** Update 2: cf service-access **
$ cf service-access
Getting service access as admin ...
Then nothing is displayed on the terminal. So I tried to allow access to services ...
$ cf enable-service-access postgresql
Enabling access to all plans of service postgresql for all orgs as admin ...
All plans of the service are already accessible for all orgs
Ok
But I still canβt create a service.