Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow management of old AppEngine resources from before CLOUD_DATASTORE_COMPATIBILITY. #4006

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ func resourceAppEngineApplication() *schema.Resource {
ValidateFunc: validation.StringInSlice([]string{
"CLOUD_FIRESTORE",
"CLOUD_DATASTORE_COMPATIBILITY",
// NOTE: this is provided for compatibility with instances from
// before CLOUD_DATASTORE_COMPATIBILITY - it cannot be set
// for new instances.
"CLOUD_DATASTORE",
}, false),
Computed: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ The following arguments are supported:
* `auth_domain` - (Optional) The domain to authenticate users with when using App Engine's User API.

* `database_type` - (Optional) The type of the Cloud Firestore or Cloud Datastore database associated with this application.
Can be `CLOUD_FIRESTORE` or `CLOUD_DATASTORE_COMPATIBILITY` for new
instances. To support old instances, the value `CLOUD_DATASTORE` is accepted
by the provider, but will be rejected by the API.

* `serving_status` - (Optional) The serving status of the app.

Expand Down