feat(terraform): ovh_node_flavors sets a different OVH flavor per node #188

Merged
jfraeys merged 1 commit from jfraeys/feat/ovh-per-node-flavor into main 2026-10-15 13:34:07 -04:00
Owner

For the Linode -> OVH migration (#187): the OVH module used one flavor for every node. ovh_node_flavors (map, key = base node label) overrides it per node, e.g. a small web and a larger services; unlisted nodes keep instance_type. Default is {}, which changes nothing: same data source, same flavor ids. Override flavors get one region-scoped lookup each, none when the map is empty. Linode module untouched (it is being retired). tofu validate passes; tofu fmt clean on the changed files (modules/dns/main.tf was already unformatted on main).

No apply, no state change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ

For the Linode -> OVH migration (#187): the OVH module used one flavor for every node. `ovh_node_flavors` (map, key = base node label) overrides it per node, e.g. a small `web` and a larger `services`; unlisted nodes keep `instance_type`. Default is `{}`, which changes nothing: same data source, same flavor ids. Override flavors get one region-scoped lookup each, none when the map is empty. Linode module untouched (it is being retired). `tofu validate` passes; `tofu fmt` clean on the changed files (modules/dns/main.tf was already unformatted on main). No apply, no state change. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ
feat(terraform): ovh_node_flavors sets a different OVH flavor per node (web small, services larger)
All checks were successful
Lint / lint (pull_request) Successful in 2m26s
Secret scan / scan (pull_request) Successful in 14s
1f579a6c07
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfraeys/infra!188
No description provided.