Skip to content

Commit

Permalink
Merge pull request #72 from BrettPowell/master
Browse files Browse the repository at this point in the history
added waiter arguments
  • Loading branch information
jceresini authored Apr 9, 2021
2 parents d457291 + 522b123 commit f6647ff
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 f6647ff

Please sign in to comment.