Skip to content

Commit

Permalink
Merge pull request #7 from cleardataeng/waiters-cloudfunctions
Browse files Browse the repository at this point in the history
Added waiter for cloudfunctions
  • Loading branch information
jceresini authored Aug 17, 2021
2 parents 104453a + ee1ae46 commit 65bfe3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpe/resources/gcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,9 @@ class GcpCloudFunction(GoogleAPIResource):
resource_components = {
'iam': 'getIamPolicy',
}
readiness_key = 'status'
readiness_value = 'ACTIVE'
readiness_terminal_values = ['CLOUD_FUNCTION_STATUS_UNSPECIFIED','OFFLINE','UNKNOWN']

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

Expand Down

0 comments on commit 65bfe3a

Please sign in to comment.