Skip to content
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

Deprecation warning on destroy: "pass options to configure the waiter; yielding the waiter is deprecated" #497

Open
clintoncwolfe opened this issue Jun 23, 2020 · 1 comment

Comments

@clintoncwolfe
Copy link
Contributor

clintoncwolfe commented Jun 23, 2020

🗣️ Foreword

There is a deprecation message issued during destroy.

Version

kitchen-ec2 3.6.0
test-kitchen 2.5.2
aws-sdk-ec2 1.166.1

Environment

MacOS Catalina

Steps to Reproduce

  1. Create any EC2 instance
  2. Destroy the instance
  3. See the following message:
[cwolfe@lodi temp]$ be kitchen destroy
-----> Starting Test Kitchen (v2.5.2)
-----> Destroying <default-ubuntu-1804>...
pass options to configure the waiter; yielding the waiter is deprecated
       Waited 0/300s for instance <i-> to terminate.
       Waited 5/300s for instance <i-> to terminate.
       Waited 10/300s for instance <i-> to terminate.
       Waited 15/300s for instance <i-> to terminate.
       Waited 20/300s for instance <i-> to terminate.
       EC2 instance <i-> destroyed.
       Removing automatic security group sg-
       Finished destroying <default-ubuntu-1804> (0m21.63s).
-----> Test Kitchen is finished. (0m22.56s)

Expected Result

No deprecation message appears.

Actual Result

The line pass options to configure the waiter; yielding the waiter is deprecated appears

@vkarve-chef
Copy link

@clintoncwolfe you may want to close this issue. the associated PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants