diff --git a/rpe/resources/gcp.py b/rpe/resources/gcp.py index 883bf26..c25688d 100644 --- a/rpe/resources/gcp.py +++ b/rpe/resources/gcp.py @@ -924,6 +924,10 @@ class GcpRedisInstance(GoogleAPIResource): resource_path = "projects.locations.instances" version = "v1" + readiness_key = 'state' + readiness_value = 'READY' + readiness_terminal_values = ['DELETING', 'STATE_UNSPECIFIED'] + required_resource_data = ['name', 'project_id', 'location'] resource_type = 'redis.googleapis.com/Instance' @@ -943,6 +947,10 @@ class GcpMemcacheInstance(GoogleAPIResource): resource_path = "projects.locations.instances" version = "v1" + readiness_key = 'state' + readiness_value = 'READY' + readiness_terminal_values = ['DELETING', 'STATE_UNSPECIFIED'] + required_resource_data = ['name', 'project_id', 'location'] resource_type = 'memcache.googleapis.com/Instance'