Skip to content

Commit

Permalink
Make sure SM operator-access plan exists (kyma-project#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiatekus authored Dec 17, 2024
1 parent d1af98a commit 4b4c64c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4b4c64c

Please sign in to comment.