From 6a44f258e6a628e8485d3587bcef499c451769d3 Mon Sep 17 00:00:00 2001 From: Paul Stack Date: Wed, 8 Feb 2017 13:03:58 +0000 Subject: [PATCH] provider/aws: Raise the codebuild_project create timeout (#11777) Found in testing that a timeout of 30 seconds didn't allow for the error message that codebuild wasn't supported in eu-west-2 Discussed this with @radeksimko and he suggested a timeout raise --- builtin/providers/aws/resource_aws_codebuild_project.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/resource_aws_codebuild_project.go b/builtin/providers/aws/resource_aws_codebuild_project.go index 9caf6d992..0f9bb9be7 100644 --- a/builtin/providers/aws/resource_aws_codebuild_project.go +++ b/builtin/providers/aws/resource_aws_codebuild_project.go @@ -201,7 +201,7 @@ func resourceAwsCodeBuildProjectCreate(d *schema.ResourceData, meta interface{}) } var resp *codebuild.CreateProjectOutput - err := resource.Retry(30*time.Second, func() *resource.RetryError { + err := resource.Retry(2*time.Minute, func() *resource.RetryError { var err error resp, err = conn.CreateProject(params)