Skip to content

Commit 0c57557

Browse files
committed
clarify documentation of gitAuthAccessTokenEnvironmentVariable
1 parent fbb60a5 commit 0c57557

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

provisioner/terraform/provision.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,11 @@ func tryGettingCoderProviderStacktrace(sess *provisionersdk.Session) string {
351351
return string(stacktraces)
352352
}
353353

354-
// gitAuthAccessTokenEnvironmentVariable was copied from provider.GitAuthAccessTokenEnvironmentVariable
355-
// in v1.0.4 of github.com/coder/terraform-provider-coder/provider when we upgraded to v2.
354+
// gitAuthAccessTokenEnvironmentVariable is copied from
355+
// github.com/coder/terraform-provider-coder/provider.GitAuthAccessTokenEnvironmentVariable@v1.0.4.
356+
// While removed in v2 of the provider, we keep this to support customers using older templates that
357+
// depend on this environment variable. Once we are certain that no customers are still using v1 of
358+
// the provider, we can remove this function.
356359
func gitAuthAccessTokenEnvironmentVariable(id string) string {
357360
return fmt.Sprintf("CODER_GIT_AUTH_ACCESS_TOKEN_%s", id)
358361
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy