To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)
Issue details
I'm trying to spin up a Redis instance with private service access. Providing region us-central1 as a location throws:
error: error sending request: googleapi: Error 400: Zone is not within instance Region.
com.google.apps.framework.request.StatusException: <eye3 title='INVALID_ARGUMENT'/> generic::INVALID_ARGUMENT: Zone is not within instance Region.
and providing any zone us-central1-f throws:
error: error sending request: googleapi: Error 403: Location us-central1-f is not found or access is unauthorized.
Though documentation suggests location is optional, omitting the argument throws:
Diagnostics:
google-native:redis/v1:Instance (test-maintenance):
error: google-native:redis/v1:Instance resource 'test-maintenance' has a problem: missing required property 'location'. Either set it explicitly or configure it with 'pulumi config set google-native:region <value>'.
Steps to reproduce
Here is the declaration of the cache in Pulumi __main__.py.
Hello!
Issue details
I'm trying to spin up a Redis instance with private service access. Providing region
us-central1
as alocation
throws:and providing any zone
us-central1-f
throws:Though documentation suggests location is optional, omitting the argument throws:
Steps to reproduce
Here is the declaration of the cache in Pulumi
__main__.py
.Expected: I expected a new redis instance to be spun up. Actual: Error complaining that my location value is invalid.