Skip to content

Commit

Permalink
Add waiter for Datafusion instances
Browse files Browse the repository at this point in the history
  • Loading branch information
jceresini committed Apr 21, 2021
1 parent f6647ff commit 4eaa60e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rpe/resources/gcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,10 @@ class GcpDatafusionInstance(GoogleAPIResource):

required_resource_data = ['name', 'location', 'project_id']

readiness_key = 'state'
readiness_value = 'RUNNING'
readiness_terminal_values = ['FAILED', 'DELETING', 'STATUS_UNSPECIFIED']

resource_components = {
'iam': 'getIamPolicy',
}
Expand Down

0 comments on commit 4eaa60e

Please sign in to comment.