feat(orchestration): adopt existing infrastructure #6
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tycho/modules!6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/orchestration-adopt"
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?
Lets a target take over an installation already in place, with a plan of 0 changes.
spec.state.keys(publicIps,cluster): exact keys of existing states.spec.tagsreplaces the default base tags;spec.network.ipTags; per-frontendtags(fixes a duplicatefrontend=tag: the module adds it).spec.network.vpcName,privateNetworkName,egressGatewayName.${VARIABLES}substituted in the inputs ofspec.infra.modules(e.g.${INGRESS_<FRONTEND>_IP_ADDRESS}for a DNS module); Terraform interpolations (${module.x}) untouched.SCW_PROFILEaccepted for the provider, withAWS_*for the state bucket.planreads the IPs of an existingpublic-ipsstate to plan the cluster.Checks
0 to create, 0 to change, 0 to destroyon both states (public IPs; network, egress gateway, Kapsule cluster and 2 pools, 11 DNS records).🤖 Generated with Claude Code
Settings to describe resources already in place, so that a target can take over an existing installation with a plan of 0 changes: - spec.state.keys: exact state keys (publicIps, cluster); - spec.tags (replaces the default base tags), spec.network.ipTags, per-frontend tags (the module adds role and frontend itself: no more duplicate frontend tag); - spec.network.vpcName, privateNetworkName, egressGatewayName; - built-in ${VARIABLES} in the inputs of extra modules (e.g. ${INGRESS_<FRONTEND>_IP_ADDRESS} for a DNS module); - SCW_PROFILE accepted for the provider, with AWS_* for the state bucket; - plan reads the IPs of an existing public-ips state to plan the cluster. Checked on a real platform target: both states plan with 0 changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>