Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
I'm able to upload text files to an AzureDevops repo using the "azuredevops_git_repository_file" resource. However, this resource fails when trying to upload binary data (e.g. image files like PNG). Using any of the current contenttypes (e.g. filebase64sha256) allow binary data to be uploaded but it becomes unusable after that.
New or Affected Resource(s)
azuredevops_git_repository_file
Potential Terraform Configuration
resource "azuredevops_git_repository_file" "image_file" {
# ...
# INVALID: The provider does not yet support this argument
content_base64 = filebase64("${path.module}/wiki.png")
# ...
}
Community Note
Description
I'm able to upload text files to an AzureDevops repo using the "azuredevops_git_repository_file" resource. However, this resource fails when trying to upload binary data (e.g. image files like PNG). Using any of the current contenttypes (e.g. filebase64sha256) allow binary data to be uploaded but it becomes unusable after that.
New or Affected Resource(s)
Potential Terraform Configuration
References
0000