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

Add persistence_iam_identity to Redis Instance #3805

Merged
merged 3 commits into from
Aug 3, 2020
Merged
Show file tree
Hide file tree
Changes from 2 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
9 changes: 9 additions & 0 deletions products/redis/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,21 @@ objects:
name: port
description: The port number of the exposed Redis endpoint.
output: true
- !ruby/object:Api::Type::Integer
upodroid marked this conversation as resolved.
Show resolved Hide resolved
name: persistenceIamIdentity
description: |
Output only. Cloud IAM identity used by import / export operations
to transfer data to/from Cloud Storage. Format is "serviceAccount:".
The value may change over time for a given instance so should be
checked before each import/export operation.
output: true
- !ruby/object:Api::Type::String
name: redisVersion
description: |
The version of Redis software. If not provided, latest supported
version will be used. Currently, the supported values are:

- REDIS_5_0 for Redis 5.0 compatibility
- REDIS_4_0 for Redis 4.0 compatibility
- REDIS_3_2 for Redis 3.2 compatibility
input: true
Expand Down
2 changes: 1 addition & 1 deletion templates/terraform/examples/redis_instance_full.tf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "google_redis_instance" "<%= ctx[:primary_resource_id] %>" {

authorized_network = data.google_compute_network.redis-network.id

redis_version = "REDIS_3_2"
redis_version = "REDIS_4_0"
display_name = "Terraform Test Instance"
reserved_ip_range = "192.168.0.0/29"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ resource "google_redis_instance" "<%= ctx[:primary_resource_id] %>" {
authorized_network = google_compute_network.network.id
connect_mode = "PRIVATE_SERVICE_ACCESS"

redis_version = "REDIS_3_2"
redis_version = "REDIS_4_0"
display_name = "Terraform Test Instance"

depends_on = [ google_service_networking_connection.private_service_connection ]
depends_on = [google_service_networking_connection.private_service_connection]

}