Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws_lb_listener: wait fir listener creation
AWS resources can take some time to appear in listings. When we created a listener before, it could happen that the creation succeeded but the listing of the resource right after creation would return a resource not found. This can me normal on AWS where changes can take some time to propagate. The correct behaviour in this case is to retry reading the resource until we find it (because we know that it has been created successfully). We don't change the behaviour on resource reads that are not following a creation where a resource not found is still going to remove the resource from the tfstate. This should fix hashicorp#2456
- Loading branch information