You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Error: Create local sensitive file error
│
│ with local_sensitive_file.certificate_crt,
│ on main.tf line 34, in resource "local_sensitive_file" "certificate_crt":
│ 34: resource "local_sensitive_file" "certificate_crt" {
│
│ An unexpected error occurred while writing the file
│
│ +Original Error: open /etc/ssl/certificate.crt: permission denied
Steps to Reproduce
terraform plan
terraform apply
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
oddly I had this issue recently and it seemed to be fixed only by adding another hash under this provider in the lock file. (basically I copied some of the .terraform.lock.hcl file from another instance of my terraform module which didn't have this problem). I'm 90% sure this was what fixed it, I don't think the other parts of the lock file I changed were relevant
Terraform CLI and Provider Versions
Terraform v1.4.6
on darwin_arm64
Terraform Configuration
Expected Behavior
Terraform will perform the following actions:
local_sensitive_file.certificate_crt will be created
}
Actual Behavior
│ Error: Create local sensitive file error
│
│ with local_sensitive_file.certificate_crt,
│ on main.tf line 34, in resource "local_sensitive_file" "certificate_crt":
│ 34: resource "local_sensitive_file" "certificate_crt" {
│
│ An unexpected error occurred while writing the file
│
│ +Original Error: open /etc/ssl/certificate.crt: permission denied
Steps to Reproduce
terraform plan
terraform apply
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: