Commit c0f744b
authored
fix: delete unused datastore terraform files in agentic_rag projects (#797)
Both vertex_ai_search and vector_search terraform files were being
included in generated agentic_rag projects regardless of the selected
--datastore flag. The Jinja2 conditionals rendered the file contents
as empty but the files themselves remained.
Add conditional file deletion entries for all datastore-specific
terraform files so only the selected datastore's files are kept.
Also fix Makefile template where the Infrastructure Setup section
was nested inside an elif for datastore_type instead of being a
separate conditional block for cicd_runner.1 parent 6b194a7 commit c0f744b
File tree
2 files changed
+42
-1
lines changed- agent_starter_pack
- base_templates/python
- cli/utils
2 files changed
+42
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
| 355 | + | |
355 | 356 | | |
356 | 357 | | |
357 | 358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
126 | 166 | | |
127 | 167 | | |
128 | 168 | | |
| |||
0 commit comments