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

Docs: Provider docs wrong variable name #261

Open
cdsre opened this issue Feb 8, 2025 · 0 comments
Open

Docs: Provider docs wrong variable name #261

cdsre opened this issue Feb 8, 2025 · 0 comments

Comments

@cdsre
Copy link
Contributor

cdsre commented Feb 8, 2025

The provider now supports setting credentials via environment variables. This was introduced in #239. However the provider docs state to set the env var as CAPELLA_AUTH_TOKEN. However in the code its actually looking for CAPELLA_AUTHENTICATION_TOKEN

	if config.AuthenticationToken.IsNull() {
		config.AuthenticationToken = types.StringValue(os.Getenv("CAPELLA_AUTHENTICATION_TOKEN"))
	}

The documentation should be updated to reflect the code.

cdsre pushed a commit to cdsre/terraform-provider-couchbase-capella that referenced this issue Feb 8, 2025
…e to set the auth token dynamically. This is in reference to issue couchbasecloud#261.

Signed-off-by: Chris Doyle <[email protected]>
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