integrations / integrations/terraform-provider-github

[BUG]: increase file size limit github_repository_file above 1mb

Open
#2,836 0 comments 1 reaction 0 assignees View on GitHub
d/repository_file r/repository_file Type: Feature
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### Expected Behavior

Can upload a file about 1mb

### Actual Behavior
```
│ Error: unsupported content encoding: none, this may occur when file size > 1 MB, if that is the case consider using DownloadContents
```

### Terraform Version
```
Terraform v1.12.1
on darwin_arm64
+ provider registry.terraform.io/argoproj-labs/argocd v7.5.3
+ provider registry.terraform.io/datadog/datadog v3.60.0
+ provider registry.terraform.io/hashicorp/aws v5.95.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.3.7
+ provider registry.terraform.io/hashicorp/helm v2.17.0
+ provider registry.terraform.io/hashicorp/kubernetes v2.36.0
+ provider registry.terraform.io/hashicorp/null v3.2.3
+ provider registry.terraform.io/hashicorp/time v0.13.0
+ provider registry.terraform.io/hashicorp/tls v4.0.6
+ provider registry.terraform.io/integrations/github v6.6.0
```

### Affected Resource(s)

github_repository_file

### Terraform Configuration Files

```hcl

```

### Steps to Reproduce

_No response_

### Debug Output

```shell

```

### Panic Output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.