Error Invalid value for field resource loadBalancingScheme EXTERNAL -GCP

0 votes

I have created a backend service for a https load balancer using:

gcloud beta compute backend-services create service-test \
    --health-checks=hc-test \
    --project=test1 \
    --protocol=http2

I am getting the above error. How do I resolve it?

Sep 26, 2019 in GCP by anonymous
• 19,610 points
1,554 views

1 answer to this question.

0 votes

For the HTTP(S) load balancer, the backend services must be global, so you must issue the gcloud command with the --global option:

gcloud beta compute backend-services create service-test \ --health-checks=hc-test \ --project=test \ --protocol=http2 \ --global
answered Sep 26, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer

GCP Error: Access denied for a webpage served by my website.

Check that the object is shared publicly. ...READ MORE

answered Oct 25, 2019 in GCP by Sirajul
• 59,230 points
1,522 views
+2 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Creating password for a windows instance on GCP

Windows Server instances use password authentication instead ...READ MORE

answered Sep 24, 2019 in GCP by Sirajul
• 59,230 points
4,219 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
2,853 views
0 votes
1 answer
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points

edited Jun 16, 2023 by Khan Sarfaraz 1,203 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP