gcp_compute_backend_service not creating regional backend services #52319
Labels
affects_2.7
This issue/PR affects Ansible v2.7
bot_closed
bug
This issue/PR relates to a bug.
cloud
collection:google.cloud
collection
Related to Ansible Collections work
gce
module
This issue/PR relates to a module.
needs_collection_redirect
https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md
support:community
This issue/PR relates to code supported by the Ansible community.
traceback
This issue/PR includes a traceback.
SUMMARY
gcp_compute_backend_service not creating regional backend services, despite providing a region, a rn instance group in the same region, load_balancing_scheme INTERNAL and not using any of the variables for global services.
ISSUE TYPE
COMPONENT NAME
gcp_compute_backend_service
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Debian stretch against running google cloud api
STEPS TO REPRODUCE
vars/main.yml
tasks/main.yml
EXPECTED RESULTS
I expect this to create a regional backend service.
Creation fails: "msg": "GCP returned error: {u'error': {u'code': 400, u'message': u"Invalid value for field 'resource.loadBalancingScheme': 'INTERNAL'. Load balancing scheme must be external for a global backend service.", u'errors': [{u'domain': u'global', u'message': u"Invalid value for field 'resource.loadBalancingScheme': 'INTERNAL'. Load balancing scheme must be external for a global backend service.", u'reason': u'invalid'}]}}"
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: