belt 0.3.9 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/belt/version.rb +1 -1
- data/lib/templates/module/outputs.tf.erb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b159c6faf59bf1961bf61d4b69af8ebc3a017cceccb88d74b53c74fc12c62796
|
|
4
|
+
data.tar.gz: c9f414838a3a51bf70a923f4e76de53eeb040a2f685716047ccbcda49962dfa9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56d43f40d8fc593eab6f9051737a5e9fa757841b4f72f7af672ae50e6bfdb8da6cea5f8cf13bbf67982596eb19897b747c68adbd40a7ab23cf7c578b8cff8783
|
|
7
|
+
data.tar.gz: c7eed2a059fd4c42dd2a004d55f904f4c9a0399f402f0b73ec7f65a7e4907846a4ced15e05bcab74cd92d86ef3d4b82d5b6660efbc42c85e456214c3e3437e1d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.10
|
|
4
|
+
|
|
5
|
+
### Bug Fix
|
|
6
|
+
|
|
7
|
+
- **`api_url` output missing base path for custom domains**: When a custom domain is
|
|
8
|
+
configured (e.g. `api.dev.example.com`), the `api_url` terraform output was missing
|
|
9
|
+
the gateway's base path segment. Conveyor-belt maps each gateway to a base path
|
|
10
|
+
(gateway "api" → path `/api`), so the correct URL is
|
|
11
|
+
`https://api.dev.example.com/api` not `https://api.dev.example.com`. The frontend
|
|
12
|
+
would get the wrong `VITE_API_URL` and hit a 403 on the custom domain root.
|
|
13
|
+
|
|
3
14
|
## 0.3.9
|
|
4
15
|
|
|
5
16
|
### Bug Fix
|
data/lib/belt/version.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
output "api_url" {
|
|
2
2
|
description = "API Gateway base URL (custom domain if configured, otherwise default)"
|
|
3
|
-
value = var.domain != "" ? "https://${local.api_domain}" : values(conveyor_belt.main.api_gateway_urls)[0]
|
|
3
|
+
value = var.domain != "" ? "https://${local.api_domain}/${keys(conveyor_belt.main.api_gateway_urls)[0]}" : values(conveyor_belt.main.api_gateway_urls)[0]
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
output "api_urls" {
|