Skip to content

Commit b7150d8

Browse files
tas50claude
andcommitted
🧹 Use correct AWS defaults for CodeBuild timeout fields
TimeoutInMinutes defaults to 60 and QueuedTimeoutInMinutes to 480, matching the actual AWS CodeBuild defaults. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e3fe16a commit b7150d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

providers/aws/resources/aws_codebuild.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,14 @@ func initAwsCodebuildProject(runtime *plugin.Runtime, args map[string]*llx.RawDa
128128
args["createdAt"] = llx.TimeDataPtr(project.Created)
129129
args["modifiedAt"] = llx.TimeDataPtr(project.LastModified)
130130
args["projectVisibility"] = llx.StringData(string(project.ProjectVisibility))
131-
args["timeoutInMinutes"] = llx.IntDataDefault(project.TimeoutInMinutes, 0)
131+
args["timeoutInMinutes"] = llx.IntDataDefault(project.TimeoutInMinutes, 60)
132132
if project.Environment != nil && project.Environment.PrivilegedMode != nil {
133133
args["privilegedMode"] = llx.BoolData(*project.Environment.PrivilegedMode)
134134
} else {
135135
args["privilegedMode"] = llx.BoolData(false)
136136
}
137137
args["serviceRole"] = llx.StringDataPtr(project.ServiceRole)
138-
args["queuedTimeoutInMinutes"] = llx.IntDataDefault(project.QueuedTimeoutInMinutes, 0)
138+
args["queuedTimeoutInMinutes"] = llx.IntDataDefault(project.QueuedTimeoutInMinutes, 480)
139139

140140
// Cache the encryption key ARN for lazy loading in encryptionKey()
141141
obj, err := CreateResource(runtime, "aws.codebuild.project", args)

0 commit comments

Comments
 (0)