New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloudFormation waiters #84

Closed
sergey-ob opened this Issue Apr 8, 2015 · 12 comments

Comments

Projects
None yet
@sergey-ob

sergey-ob commented Apr 8, 2015

Are there any plans on adding waiters to the cloudformation client?

It would be useful to check when CRUD operations on the stack finished. E.g when the stack status is UPDATE_COMPLETE after updating the stack

 boto3.client('cloudformation').waiter_names
 []
@danielgtaylor

This comment has been minimized.

Show comment
Hide comment
@danielgtaylor

danielgtaylor Apr 13, 2015

Member

@sergey-ob we plan to add waiters for as many services as possible. If you come across one we haven't gotten to yet, please do let us know. Customer feedback helps us to prioritize our tasks.

Member

danielgtaylor commented Apr 13, 2015

@sergey-ob we plan to add waiters for as many services as possible. If you come across one we haven't gotten to yet, please do let us know. Customer feedback helps us to prioritize our tasks.

@alexjurkiewicz

This comment has been minimized.

Show comment
Hide comment
@alexjurkiewicz

alexjurkiewicz Jul 2, 2015

+1 for cloudformation waiter.

alexjurkiewicz commented Jul 2, 2015

+1 for cloudformation waiter.

@oliver-schoenherr

This comment has been minimized.

Show comment
Hide comment
@oliver-schoenherr

oliver-schoenherr Nov 5, 2015

The ruby aws sdk includes already the CloudFormation waiter:

aws/aws-sdk-ruby#758
https://github.com/aws/aws-sdk-ruby/blob/master/aws-sdk-core/apis/cloudformation/2010-05-15/waiters-2.json

+1 to add this feature in boto and eventually to the aws-cli.

oliver-schoenherr commented Nov 5, 2015

The ruby aws sdk includes already the CloudFormation waiter:

aws/aws-sdk-ruby#758
https://github.com/aws/aws-sdk-ruby/blob/master/aws-sdk-core/apis/cloudformation/2010-05-15/waiters-2.json

+1 to add this feature in boto and eventually to the aws-cli.

@bkyarger

This comment has been minimized.

Show comment
Hide comment
@bkyarger

bkyarger commented Dec 30, 2015

+1

1 similar comment
@andronux-zz

This comment has been minimized.

Show comment
Hide comment
@andronux-zz

andronux-zz commented Jan 4, 2016

+1

@quiver

This comment has been minimized.

Show comment
Hide comment
@quiver

quiver Jan 5, 2016

Contributor

I'v PRed CFn waiters boto/botocore#630
Once that's reviewed and merged, you can do something like::

import boto3
client = boto3.client('cloudformation')
waiter = client.get_waiter('stack_completed')
waiter.wait(StackName='Blah')
Contributor

quiver commented Jan 5, 2016

I'v PRed CFn waiters boto/botocore#630
Once that's reviewed and merged, you can do something like::

import boto3
client = boto3.client('cloudformation')
waiter = client.get_waiter('stack_completed')
waiter.wait(StackName='Blah')
@analytically

This comment has been minimized.

Show comment
Hide comment
@analytically

analytically commented Feb 1, 2016

+1

2 similar comments
@darkmule

This comment has been minimized.

Show comment
Hide comment
@darkmule

darkmule commented Feb 8, 2016

+1

@eyko

This comment has been minimized.

Show comment
Hide comment
@eyko

eyko commented Feb 9, 2016

+1

@analytically

This comment has been minimized.

Show comment
Hide comment
@analytically

analytically Feb 9, 2016

@quiver shouldn't your above example be client.get_waiter('StackAvailable')?

analytically commented Feb 9, 2016

@quiver shouldn't your above example be client.get_waiter('StackAvailable')?

@quiver

This comment has been minimized.

Show comment
Hide comment
@quiver

quiver Feb 19, 2016

Contributor

@quiver shouldn't your above example be client.get_waiter('StackAvailable')?

Nope. Wait subcommands are snake-cased at boto3 level.
See the following rul : http://boto3.readthedocs.org/en/latest/guide/clients.html#waiters

Contributor

quiver commented Feb 19, 2016

@quiver shouldn't your above example be client.get_waiter('StackAvailable')?

Nope. Wait subcommands are snake-cased at boto3 level.
See the following rul : http://boto3.readthedocs.org/en/latest/guide/clients.html#waiters

@kyleknap

This comment has been minimized.

Show comment
Hide comment
@kyleknap

kyleknap Mar 14, 2016

Member

Closing issue. PR is now merged: boto/botocore#841. Cloudformation waiters will be available in the next release of botocore.

Member

kyleknap commented Mar 14, 2016

Closing issue. PR is now merged: boto/botocore#841. Cloudformation waiters will be available in the next release of botocore.

@kyleknap kyleknap closed this Mar 14, 2016

@adonig adonig referenced this issue Feb 22, 2017

Merged

Iterator #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment