When running terraform plan I have tried the following,
1.) export TF_VAR_token = mytoken
2.) terraform apply -var-file="secrets.tfvars"
here is the output when running terraform apply
splunk_saved_searches.testing_terraform_alert: Creating...
Error: call not properly authenticated
on ops_alerts.tf line 1, in resource "splunk_saved_searches" "testing_terraform_alert":
1: resource "splunk_saved_searches" "testing_terraform_alert" {
I have double-checked my token and it is valid. The error seems to be intermittent sometimes it works sometimes it doesn't
my terraform version
Terraform v0.13.6
here is what's in my provider.tf file
When running terraform plan I have tried the following, 1.) export TF_VAR_token = mytoken 2.) terraform apply -var-file="secrets.tfvars"
here is the output when running terraform apply