I have almost this issue: Importing existing Resource(s) into a Remote State Managed by Terraform Cloud/Enterprise may fail with error "Invalid provider configuration. The configuration for provider depends on values that cannot be determined until apply." – HashiCorp Help Center
However - I’m not using AWS, or a provider that allows me to set my tokens any way other than through Terraform.
What are my other options?
I could put the token in my code locally, but I’m concerned it’ll then end up in plaintext in the state file?