caution-config: validate domain and provider IDs at parse time #328
No reviewers
Labels
No labels
Compat/Breaking
Component/Enclave-Builder
Component/Infrastructure
Deploy/BYOC
Deploy/Full-managed
Deploy/Self-hosted
Interface/API
Interface/CLI
Interface/Git
Interface/Web
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
public/platform!328
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/328/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
domain and the provider AWS ids (vpc_id, subnet_ids, security_group_id) flow unescaped into generated Terraform, the bootstrap script, and the Caddy config. Validate them at parse time (Procfile + HCL) — strict DNS name for domain, strict -<8|17 hex> for the ids so no shell/HCL metacharacters survive parsing
We should probably have a look at current domains and values to ensure no deployed app have weird looking patterns in what is fixed here