diff --git a/aws/resource_aws_api_gateway_usage_plan_test.go b/aws/resource_aws_api_gateway_usage_plan_test.go index 91f851a7123..04f31749eda 100644 --- a/aws/resource_aws_api_gateway_usage_plan_test.go +++ b/aws/resource_aws_api_gateway_usage_plan_test.go @@ -459,7 +459,7 @@ resource "aws_api_gateway_deployment" "test" { } resource "aws_api_gateway_deployment" "foo" { - depends_on = ["aws_api_gateway_integration.test"] + depends_on = ["aws_api_gateway_deployment.test", "aws_api_gateway_integration.test"] rest_api_id = "${aws_api_gateway_rest_api.test.id}" stage_name = "foo"