diff --git a/main.tf b/main.tf index 597a44c..5273e76 100644 --- a/main.tf +++ b/main.tf @@ -12,7 +12,16 @@ resource "btp_subaccount_entitlement" "kyma" { amount = 1 } +resource "btp_subaccount_entitlement" "sm-operator-access" { + subaccount_id = local.subaccount_id + service_name = "service-manager" + plan_name = "service-operator-access" +} + resource "btp_subaccount_environment_instance" "kyma" { + depends_on = [ + resource.btp_subaccount_entitlement.sm-operator-access + ] subaccount_id = local.subaccount_id name = "${local.subaccount_name}-kyma" environment_type = "kyma"