From 9d57e9374685a2977a12f0cbfb641ddfc547f193 Mon Sep 17 00:00:00 2001 From: Andrew Bulford Date: Mon, 4 Dec 2017 09:36:47 +0000 Subject: [PATCH] Make depends_on consistent with note At the top of the page the note says that the `aws_api_gateway_deployment` resource should include a `depends_on` for the `aws_api_gateway_integration.name` resource, yet the example depends on the `aws_api_gateway_method.MyDemoMethod` resource, which doesn't seem to fix the race condition. --- website/docs/r/api_gateway_deployment.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/r/api_gateway_deployment.html.markdown b/website/docs/r/api_gateway_deployment.html.markdown index a631f2395b7..be6f16d343f 100644 --- a/website/docs/r/api_gateway_deployment.html.markdown +++ b/website/docs/r/api_gateway_deployment.html.markdown @@ -42,7 +42,7 @@ resource "aws_api_gateway_integration" "MyDemoIntegration" { } resource "aws_api_gateway_deployment" "MyDemoDeployment" { - depends_on = ["aws_api_gateway_method.MyDemoMethod"] + depends_on = ["aws_api_gateway_integration.MyDemoIntegration"] rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}" stage_name = "test"