You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User john runs a terraform task that creates a VM and VM name should include name john-, we can use :
Environment with variable called TF_VAR_semaphoreuser - var.semaphoreuser is accessible in terraform automatically - but environment does not belong to John it belongs to the project so this is not usable at scale
Survey variable - every task need to have survey variable semaphoreuser asking user to fill its own username - there is nothing preventing to give any other value. Also it is tedious to ask semaphore user name at every task execution
Implementation
ability for environment and have value set by UI
example environment I need the value is username from GET /api/user
If the value of the variable is not resolved when running a task then - the variable should not exist at all (default empty value is not wanted - task failure is expected if variable does not resolve to username)
Design
No response
The text was updated successfully, but these errors were encountered:
Related to
Web-Frontend (what users interact with), Ansible (task execution), Configuration
Impact
nice to have
Missing Feature
User
john
runs a terraform task that creates a VM and VM name should include namejohn-
, we can use :TF_VAR_semaphoreuser
-var.semaphoreuser
is accessible in terraform automatically - but environment does not belong toJohn
it belongs to the project so this is not usable at scalesemaphoreuser
asking user to fill its own username - there is nothing preventing to give any other value. Also it is tedious to ask semaphore user name at every task executionImplementation
username
fromGET /api/user
If the value of the variable is not resolved when running a task then - the variable should not exist at all (default empty value is not wanted - task failure is expected if variable does not resolve to username)
Design
No response
The text was updated successfully, but these errors were encountered: