[cloud] Add retries/backoff to ec2_vpc_subnet module (#31870)

* Allow backoff for describe_subnets

Improve exception handling to latest standards

* Add integration test suite for ec2_vpc_subnet

* Add test for creating subnet without AZ

Fix bug identified by test

Fixes #31905
This commit is contained in:
Will Thames 2017-11-17 04:09:42 +10:00 committed by Ryan Brown
commit 46c4f6311a
6 changed files with 255 additions and 45 deletions

View file

@ -0,0 +1,4 @@
---
# defaults file for ec2_vpc_subnet
ec2_vpc_subnet_name: '{{resource_prefix}}'
ec2_vpc_subnet_description: 'Created by ansible integration tests'