Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lechnerc77 committed Feb 11, 2025
1 parent caae6c5 commit bd395f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/tfcodeimprovements.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ The Terraform configuration on subaccount level gets improved via the following
- All resources that reference a `subaccount_id` get transformed to reference the resource `btp_subaccount` if available.
- If the attribute `parent_id` is the global account, it gets removed from the resource `btp_subaccount`. If not it gets extracted as a variable.
- If a dependency between the resource `btp_subaccount_entitlement` and the resource `btp_subaccount_subscription` exists, a corresponding `depends_on` block will be added to the resource `btp_subaccount_subscription`.
- If a dependency between the resource `btp_subaccount_entitlement` and the resource `btp_subaccount_service_instance` exists:
- a data source `btp_subaccount_service_plan` is added to fetch the identifier of the service plan
- a `depends_on` block is added to the data source to make it explicitly dependent to the corresponding entitlement
- the technical identifier of the service plan is replaced by the reference to the data source

## Improvements on Directory Level

Expand Down

0 comments on commit bd395f3

Please sign in to comment.