Open gelfandbein opened 11 months ago
And for the future I'd like to upload generated files (after 'terraform apply') not only from the repo source
Hi i have the same issue, first file commit is working, then it crashes..
Did anyone figure out why is that? I'm facing the same issue
Could you please show your workaround looks like?
Could you please show your workaround looks like? In my approach, i'll create new branch for files and commit these:
resource "null_resource" "prepare_branch" { provisioner "local-exec" { interpreter = ["/bin/bash", "-c"] working_dir = path.module command = <<EOT ... git config --global user.email "${var.cluster}@${var.project}" git config --global user.name "Terraform: ${var.cluster} at ${var.project}" git -C /tmp/${var.cluster}-se-configs add . git -C /tmp/${var.cluster}-se-configs commit -m "Initial '${var.cluster}' cluster config at '${var.project}' project" ... EOT }
or you can zip files, commit it and use .git/hooks/pre-commit
bash file to unpack and finally commit to branch
Terraform 1.5.5 Bitbucket provider 2.38.0
Can't upload to branch small files (15-20 files), always got 500 error after second file, 1st file uploaded yo branch without problems
terraform.log:
Terraform resource:
Can I commit whole folder not by file?