Skip to content

Commit a5cb0d9

Browse files
author
navyakhurana
committed
Added free plan for int suite- mission 4038
1 parent 85e2e8d commit a5cb0d9

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

released/discovery_center/mission_4038/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ resource "btp_subaccount_entitlement" "sap_integration_suite" {
9898
subaccount_id = data.btp_subaccount.dc_mission.id
9999
service_name = local.service_name__sap_integration_suite
100100
plan_name = var.service_plan__sap_integration_suite
101+
amount = var.service_plan__sap_integration_suite == "free" ? 1 : null
101102
}
102103

103104
data "btp_subaccount_subscriptions" "all" {

released/discovery_center/mission_4038/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ output "subaccount_id" {
55

66
output "integrationsuite_url" {
77
value = btp_subaccount_subscription.sap_integration_suite.subscription_url
8-
description = "Subscription URL for SAP Business Process Automation"
8+
description = "Subscription URL for SAP Integration Suite."
99
}

released/discovery_center/mission_4038/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
terraform {
33
required_providers {
44
btp = {
5-
source = "sap/btp"
5+
source = "SAP/btp"
66
version = "~> 1.5.0"
77
}
88
}

released/discovery_center/mission_4038/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ variable "service_plan__sap_integration_suite" {
7070
description = "The plan for SAP Integration Suite"
7171
default = "enterprise_agreement"
7272
validation {
73-
condition = contains(["enterprise_agreement"], var.service_plan__sap_integration_suite)
74-
error_message = "Invalid value for service_plan__sap_integration_suite. Only 'enterprise_agreement' are allowed."
73+
condition = contains(["free", "enterprise_agreement"], var.service_plan__sap_integration_suite)
74+
error_message = "Invalid value for service_plan__sap_integration_suite. Only 'free' and 'enterprise_agreement' are allowed."
7575
}
7676
}
7777

0 commit comments

Comments
 (0)