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
This commit is contained in:
Paul Stack 2017-02-08 13:03:58 +00:00 committed by GitHub
parent bfbd5ad4e6
commit 6a44f258e6
1 changed files with 1 additions and 1 deletions

View File

@ -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)