- Notifications
You must be signed in to change notification settings - Fork22
feat: adddefault_apps
field tocoder_agent
resource#147
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
- Enables a template admin to configure which apps are displayed to the user in the dashboard.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
os = "linux" | ||
arch = "amd64" | ||
display_apps { | ||
vscode = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Do we need an extra test case to check .tf with only a few apps selected:
display_apps { vscode = true web_terminal = true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Since they all have default values I tested that specifying their non-defaults (inOK
) and then omitting them to produce the defaults (inOmitted
) produces the desired result. I added another one anyway but I don't think it adds much value.
Uh oh!
There was an error while loading.Please reload this page.
default_apps
field tocoder_agent
resourceUh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
👍
just take a look at the comment inexamples_test.go
Uh oh!
There was an error while loading.Please reload this page.
fixes the provider side ofcoder/coder#8033
It takes the form
display_apps
block you opt-in to the defaults.false
.