Add explicit config flags for Tower user auto-generation#330
Draft
gavinelder wants to merge 2 commits intomasterfrom
Draft
Add explicit config flags for Tower user auto-generation#330gavinelder wants to merge 2 commits intomasterfrom
gavinelder wants to merge 2 commits intomasterfrom
Conversation
Introduces two boolean variables to make the Tower user auto-creation behavior explicit and configurable rather than hardcoded: - flag_tower_enable_participant_auto_create_user: governs tower.participant.auto-create-user (Workspace collaborators) - flag_tower_enable_member_auto_create_user: governs tower.member.auto-create-user (Organization members) Both default to false in TEMPLATE_terraform.tfvars. The previously hardcoded participant flag in tower.yml.tpl now references the variable, and a new member block is added. Fixes #312 Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #312
Summary
Adds two boolean variables to make Tower user auto-generation behavior explicit and configurable rather than hardcoded:
variables.tf— declaresflag_tower_enable_participant_auto_create_userandflag_tower_enable_member_auto_create_user(bothbool).templates/TEMPLATE_terraform.tfvars— defaults both flags tofalsewith an explanatory comment block clarifying the difference between Workspace collaborators (tower.participant.auto-create-user) and Organization members (tower.member.auto-create-user).009_define_file_templates.tf— passes both new vars into thetower_ymltemplatefile()call.assets/src/tower_config/tower.yml.tpl— replaces the hardcodedparticipant.auto-create-user: falsewith the new variable and adds a newmember:block driven by the second variable.Automated triage by Claude Code.