Skip to content

[FEATURE] Support Import of subaccount with skipped base entitlement #457

@lechnerc77

Description

@lechnerc77

What area do you want to see improved?

documentation

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

The BTP CLI offers the option to create a subaccount and skipping the base entitlement process upon creation (see https://help.sap.com/docs/btp/btp-cli-command-reference/btp-create-accounts-subaccount -> --skip-auto-assign-plans)

Due to the handling of the flag in the BTP CLI, the information if this flag was set when the subaccount was created cannot be fetched and , hence, cannot be imported.

It would be great if the handling of this scenario can be added to the documentation.

Describe the solution you would like

The documentation should be enhanced to describe a solution for this scenario namely:

  • Executing the export and setting the BTPTF_SKIP_ENTITLEMENTFILTER environment variable
  • Manually setting the flag in the generated code for the subaccount resource

Describe alternatives you have considered

  • Automatic handling in the import is not feasible as the flag is not retrievable
  • Adding an additional parameter to the CLI to explicitly handle this scenario is from an cost-usage perspective not feasible

Additional context

Documentation can be updated once the flag is supported in the Terraform provider see feature request SAP/terraform-provider-btp#1174.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions