Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation prevents provider instantiation without an API key #58

Open
rorymalcolm opened this issue Jan 16, 2025 · 0 comments
Open

Validation prevents provider instantiation without an API key #58

rorymalcolm opened this issue Jan 16, 2025 · 0 comments

Comments

@rorymalcolm
Copy link

If you're creating a configuration that's active in some accounts, but not in others, currently you cannot instantiate this provider

provider "openai" {
  admin_key = var.openai_api_key
}

Where var.openai_api_key is null by default - throws an error, in my opinion this should not in fact throw an error as it makes this common config impossible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant