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 in GCP by anonymous
• 3,250 points
16 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 by Sirajul
• 29,340 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

What are the libraries and tools for cloud storage on GCP?

At the center level, XML API and ...READ MORE

answered 6 days ago in GCP by Sirajul
• 29,340 points
15 views
0 votes
1 answer
0 votes
1 answer

GCP Error: 403: Access Denied

Check that your credentials are correct. For ...READ MORE

answered 4 days ago in GCP by Sirajul
• 29,340 points
9 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 in GCP by Sirajul
• 29,340 points
18 views
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 in GCP by Sirajul
• 29,340 points
16 views
0 votes
1 answer

Creating password for a windows instance on GCP

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

answered Sep 24 in GCP by Sirajul
• 29,340 points
44 views
0 votes
1 answer