Skip to content

[BUG] Wrong unique plan identifier is exported #547

@lechnerc77

Description

@lechnerc77

Is there an existing issue for this?

  • I have searched the existing issues

What version of the Terraform exporter are you using?

1.5.0

What version of the Terraform CLI/OpenTofu CLI are you using?

1.14.5

What type of issue are you facing

bug report

Describe the bug

The export delivers the following configuration:

resource "btp_subaccount_entitlement" "entitlement_1" {
  amount                 = "200"
  plan_name              = "MEMORY"
  plan_unique_identifier = "applicationruntime"
  service_name           = "APPLICATION_RUNTIME"
  subaccount_id          = btp_subaccount.subaccount_0.id
}

The value for the unique plan identifier is wrong

Expected Behavior

The generated code contains the right value for the plan unique identifier

Steps To Reproduce

Export the resource mentioned above

User's Role Collections

n/a

Add screenshots to help explain your problem

n/a

Additional context

See SAP/terraform-provider-btp#1388 for reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions