Commit 28b6824
docs: fix HCL snippet issues in cpflow vs. Terraform appendix
Address PR review feedback on the Terraform appendix:
- Split the multi-attribute `variable "location"` block onto separate
lines (two attributes on one line is an HCL2 parse error).
- Use an integer port `number = 3000` instead of the string `"3000"`,
matching templates/rails.yml and the cpln_workload schema.
- Note that the SECRET_KEY_BASE placeholder is test-only and that
production should use a sensitive var or cpln://secret ref.
- Flag the 0.0.0.0/0 firewall CIDRs as tutorial defaults to tighten in
production.
- Point readers at the cpln provider docs for the remaining resource
field mappings.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 8bf6e3a commit 28b6824
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
107 | 113 | | |
108 | 114 | | |
109 | 115 | | |
110 | | - | |
| 116 | + | |
111 | 117 | | |
112 | 118 | | |
113 | 119 | | |
| |||
120 | 126 | | |
121 | 127 | | |
122 | 128 | | |
123 | | - | |
124 | | - | |
| 129 | + | |
| 130 | + | |
125 | 131 | | |
126 | 132 | | |
127 | 133 | | |
| |||
130 | 136 | | |
131 | 137 | | |
132 | 138 | | |
133 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
134 | 142 | | |
135 | 143 | | |
136 | 144 | | |
| |||
0 commit comments