Skip to content

refactor: use terraform provider methods for user secret env var names#24946

Merged
zedkipp merged 1 commit into
mainfrom
zedkipp/provider-envs
May 5, 2026
Merged

refactor: use terraform provider methods for user secret env var names#24946
zedkipp merged 1 commit into
mainfrom
zedkipp/provider-envs

Conversation

@zedkipp
Copy link
Copy Markdown
Contributor

@zedkipp zedkipp commented May 4, 2026

The original PR that plumbed secrets to the terraform provider landed before updating terraform-provider-coder to a version that codified the environment variable API contract. This change uses the exported functions from terraform-coder-provider to ensure the contract is defined in one place.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are existing tests that ensure the env formatting is still correct:

func TestProvisionEnv_UserSecrets(t *testing.T) {

@zedkipp zedkipp marked this pull request as ready for review May 4, 2026 22:38
@zedkipp zedkipp merged commit e4622e7 into main May 5, 2026
33 checks passed
@zedkipp zedkipp deleted the zedkipp/provider-envs branch May 5, 2026 14:52
@github-actions github-actions Bot locked and limited conversation to collaborators May 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants