Skip to content

Commit

Permalink
added waiter arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettPowell committed Apr 7, 2021
1 parent 4012a62 commit 522b123
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rpe/resources/gcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit 522b123

Please sign in to comment.