Skip to content

refactor(terraform): decouple Rancher import as standalone re-runnable component — Layer 3 #280

Description

@bhumi46

Part of #273

What

Extract Rancher cluster import out of rke2-setup into its own standalone Terraform root.

Why

Rancher import needs to be re-run independently — e.g. after token rotation or cluster re-registration — without triggering RKE2 setup. Currently both are in the same module.

Acceptance Criteria

  • rancher-import component is a standalone Terraform root under terraform/implementations/aws/rancher-import/
  • Can be triggered independently at any time without touching RKE2 state
  • Reads cluster node IPs via data "aws_instance" by tag

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions