Skip to content

Feature Request: "Break-the-Glass" Operability for Running Terraform/OpenTofu πŸ› οΈΒ #65

@marccortinas

Description

@marccortinas

Description:

As a user exploring the provider-opentofu, I'm very interested in enhancing the operational capabilities for managing Terraform/OpenTofu code deployed via Crossplane.

In a previous project, we found a feature called "break-the-glass" to be extremely valuable for operators πŸ§‘β€πŸ”§. This functionality, implemented in projects like https://github.com/flux-iac/tofu-controller (using the tfctl client), allows operators to:

  • Attach directly to the Kubernetes Pod where the Terraform/OpenTofu execution is happening ➑️.

  • Execute commands directly within that environment ⌨️.

This capability provides crucial operational flexibility βš™οΈ for debugging, troubleshooting, and potentially performing manual interventions in exceptional circumstances.

Request:

I would like to propose considering a similar "break-the-glass" functionality for the provider-opentofu. This could involve:

  • Providing a mechanism for operators to gain shell access to the environment where the Terraform/OpenTofu plan and apply operations are being executed (likely a Kubernetes Pod in most Crossplane deployments) 🐚.

  • Potentially integrating with or suggesting a compatible CLI tool (similar to tfctl) that could facilitate this interaction πŸ”—.

Benefits:

Implementing such a feature could significantly improve the operational maturity 🌱 of managing infrastructure through Crossplane and the OpenTofu provider by:

  • Facilitating easier debugging of complex issues πŸ›.

  • Providing a way to recover from unexpected states πŸš‘.

  • Empowering operators with more direct control when necessary πŸ’ͺ.

Thank you for considering this feature request πŸ™. I'm happy to discuss this further and provide any additional context needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions