@@ -21,6 +21,8 @@ module "amazon-q" {
21
21
}
22
22
```
23
23
24
+ ![ Amazon-Q in action] ( ../.images/amazonq.png )
25
+
24
26
## Prerequisites
25
27
26
28
- You must generate an authenticated Amazon Q tarball on another machine:
@@ -44,16 +46,11 @@ module "amazon-q" {
44
46
45
47
** 3. Generate the tarball:**
46
48
47
- - Run the following command in your terminal (Linux/macOS) :
49
+ - Run the following command in your terminal:
48
50
``` sh
49
51
cd ~ /.local/share/amazon-q
50
52
tar -c . | zstd | base64 -w 0
51
53
```
52
- - If you are on macOS and do not have ` zstd ` , you can install it with Homebrew:
53
- ``` sh
54
- brew install zstd
55
- ```
56
- - If your version of ` base64 ` does not support ` -w 0 ` , use ` | base64 ` instead (the output will just be wrapped).
57
54
58
55
** 4. Copy the output:**
59
56
@@ -119,25 +116,25 @@ module "amazon-q" {
119
116
120
117
## Variables
121
118
122
- | Name | Required | Default | Description |
123
- | -------------------------------- | -------- | -------------------- | ----------------------------------------------------------------------------------------- |
124
- | ` agent_id ` | Yes | — | The ID of a Coder agent. |
125
- | ` experiment_auth_tarball ` | Yes | — | Base64-encoded, zstd-compressed tarball of a pre-authenticated Amazon Q config directory. |
126
- | ` install_amazon_q ` | No | ` true ` | Whether to install Amazon Q. |
127
- | ` amazon_q_version ` | No | ` latest ` | Version to install. |
128
- | ` experiment_use_screen ` | No | ` false ` | Use GNU screen for background operation. |
129
- | ` experiment_use_tmux ` | No | ` false ` | Use tmux for background operation. |
130
- | ` experiment_report_tasks ` | No | ` false ` | Enable task reporting to Coder. |
131
- | ` experiment_pre_install_script ` | No | ` null ` | Custom script to run before install. |
132
- | ` experiment_post_install_script ` | No | ` null ` | Custom script to run after install. |
133
- | ` icon ` | No | ` /icon/amazon-q.svg ` | The icon to use for the app. |
134
- | ` folder ` | No | ` /home/coder ` | The folder to run Amazon Q in. |
135
- | ` order ` | No | ` null ` | The order determines the position of app in the UI presentation. |
119
+ | Name | Required | Default | Description |
120
+ | -------------------------------- | -------- | ------------------------ | ----------------------------------------------------------------------------------------------- |
121
+ | ` agent_id ` | Yes | — | The ID of a Coder agent. |
122
+ | ` experiment_auth_tarball ` | Yes | — | Base64-encoded, zstd-compressed tarball of a pre-authenticated Amazon Q config directory. |
123
+ | ` install_amazon_q ` | No | ` true ` | Whether to install Amazon Q. |
124
+ | ` amazon_q_version ` | No | ` latest ` | Version to install. |
125
+ | ` experiment_use_screen ` | No | ` false ` | Use GNU screen for background operation. |
126
+ | ` experiment_use_tmux ` | No | ` false ` | Use tmux for background operation. |
127
+ | ` experiment_report_tasks ` | No | ` false ` | Enable task reporting to Coder. |
128
+ | ` experiment_pre_install_script ` | No | ` null ` | Custom script to run before install. |
129
+ | ` experiment_post_install_script ` | No | ` null ` | Custom script to run after install. |
130
+ | ` icon ` | No | ` /icon/amazon-q.svg ` | The icon to use for the app. |
131
+ | ` folder ` | No | ` /home/coder ` | The folder to run Amazon Q in. |
132
+ | ` order ` | No | ` null ` | The order determines the position of app in the UI presentation. |
133
+ | ` system_prompt ` | No | See [ main.tf] ( ./main.tf ) | The system prompt to use for Amazon Q. This should instruct the agent how to do task reporting. |
134
+ | ` task_prompt ` | No | See [ main.tf] ( ./main.tf ) | The initial task prompt to send to Amazon Q. |
136
135
137
136
## Notes
138
137
139
138
- Only one of ` experiment_use_screen ` or ` experiment_use_tmux ` can be true at a time.
140
139
- If neither is set, Amazon Q runs in the foreground.
141
140
- For more details, see the [ main.tf] ( ./main.tf ) source.
142
-
143
- <!-- TODO: Add Screenshot of Amazon-Q In Action -->
0 commit comments