Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provider/aws: Guard against panic in aws_vpc_endpoint_association (#1…
…1613) I believe that if no VPC Endpoints were returned from the AWS API, we were not guarding against a panic. We were strill trying to inspect the RouteTableIds. This commit will ensure that no errors are thrown before trying to use the RouteTableIds ``` % make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSVpcEndpointRouteTableAssociation_' ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /terraform/vendor/) 2017/02/01 18:06:29 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSVpcEndpointRouteTableAssociation_ -timeout 120m === RUN TestAccAWSVpcEndpointRouteTableAssociation_basic --- PASS: TestAccAWSVpcEndpointRouteTableAssociation_basic (42.83s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws 42.859s ```
- Loading branch information