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

provider/aws: internetgateway timing tweaks (again) #7447

Merged
merged 1 commit into from
Jul 7, 2016
Merged

provider/aws: internetgateway timing tweaks (again) #7447

merged 1 commit into from
Jul 7, 2016

Commits on Jul 1, 2016

  1. provider/aws: internetgateway timing tweaks (again)

    This workaround is originally from 71b30c6.
    According to the commit message from Mitchell Hashimoto:
    
        So I think the AWS API is just broken here. In the case that the state
        doesn't update, just assume it did after 5 seconds.
    
    Based on my experience, this AWS API is still broken in the same way.
    
    The timeout was later increased from 5 seconds to 10 seconds in
    265cc4f.
    
    The timeout (but not the timer) was removed inexplicably in GH-1325.
    
    The symptom is this error from `terraform apply`:
    
        aws_internet_gateway.test: Error waiting for internet gateway (igw-553b4731) to attach: timeout while waiting for state to become '[available]'
    
    followed by all subsequent `terraform apply` commands failing with this error:
    
        aws_internet_gateway.test: Resource.AlreadyAssociated: resource igw-553b4731 is already attached to network vpc-61bc7606
    dtolnay committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    893c427 View commit details
    Browse the repository at this point in the history