Skip to content

Conversation

@dex4er
Copy link
Owner

@dex4er dex4er commented Oct 6, 2025

This pull request increases the buffer size for reading output from Terraform commands in several functions, which helps handle larger outputs without running into buffer overflows or truncation issues.

Buffer size increases for reading command output:

  • In terraformWithFilter (run/terraform_with_filter.go), the buffer size for bufio.NewReader is increased to 25MB to support larger outputs.
  • In terraformWithProgress (run/terraform_with_progress.go), the buffer size for bufio.NewReader is also increased to 25MB.
  • In terraformWithoutColors (run/terraform_without_colors.go), the maximum token size for bufio.Scanner is set to 25MB, allowing it to process much larger lines of output.

@dex4er dex4er merged commit 68ef49b into main Oct 6, 2025
4 of 5 checks passed
@dex4er dex4er deleted the big-buffer-25-mb branch October 6, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant