Skip to content

[FEATURE] Native Copy Function for Resources #488

@EliasB17

Description

@EliasB17

What area do you want to see improved?

CLI commands

Is your feature request related to a problem? Please describe.

When trying to duplicate or clone an SAP BTP subaccount using Terraform, the current workflow requires exporting the subaccount and then manually editing the configuration — including renaming resources, changing IDs, and adjusting references. After that, the modified configuration can be used to recreate the “copied” subaccount via Terraform.
I don’t think there’s currently a native copy function that allows users to easily replicate a subaccount with adjusted identifiers.

Describe the solution you would like

I would like to see a native copy or clone function in the Terraform exporter that simplifies the process of duplicating an existing SAP BTP subaccount.

Describe alternatives you have considered

Manually editing exported Terraform files (renaming resources, changing IDs).

Additional context

This feature would be especially useful in scenarios like:
- Creating sandbox environments based on production setups
- Replicating subaccounts for testing or training purposes
- Accelerating onboarding of new teams or projects

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions