Service Plan IDs #714
-
Hi guys, is there an easy way to get the service plan ids? Example: I'd like to create a service instance e.g. for the event mesh. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @jankrieg , you can use the datasource data "btp_subaccount_service_plan" "by_name" {
subaccount_id = "6aa64c2f-38c1-49a9-b2e8-cf9fea769b7f"
name = "free"
offering_name = "alert-notification"
} The data fetched from the datasource contains the ID of the plan that you can use to create a service instance via the resource Is this what you are looking for? |
Beta Was this translation helpful? Give feedback.
-
No respomnse for a month so closing this question |
Beta Was this translation helpful? Give feedback.
Hi @jankrieg ,
you can use the datasource
btp_subaccount_service_plan
to fetch the plan by name:The data fetched from the datasource contains the ID of the plan that you can use to create a service instance via the resource
btp_subaccount_service_instance
Is this what you are looking for?