Closed lechnerc77 closed 3 months ago
Sonar Cloud fails, which is acceptable, as we cannot test the rate limit error with our test fixture recordings
Hello Christian
We tried to reproduce the issue by adding 19 entitlements to 6 sub-accounts and then 12 sub-accounts, in both the cases the entitlements are being added and the rate limit issue couldn't be reproduced. Attaching the configuration for your reference.
variable "entitlements" {
type = map(list(string))
description = "Map with all expected entitlements"
default = {
# Alert Notification Service
"alert-notification" = ["standard", "lite", "free"]
# Audit Log Viewer Service
"auditlog-viewer" = ["free", "default"]
# BTP LLM Proxy
"azure-openai-service-demo" = ["default"]
# Cloud Management Service
"cis" = ["local", "cloud-automation", "central-viewer", "local-viewer"]
# Cloud Portal Service
"PortalApplication" = ["standard"]
# Event Mesh
"enterprise-messaging" = ["default"]
# Forms Service by Adobe
"ads" = ["free", "standard"]
# SAP AI Core
"aicore" = ["standard"]
# SAP HANA Schemas & HDI Containers
"hana" = ["hdi-shared"]
#SAPLaunchpad
"SAPLaunchpad" = ["foundation","standard"]
}
}
Attaching the terraform script as well to run this configuration via the module mentioned in the link.
resource "btp_subaccount" "my_project" {
count = 12
name = "sarthak_test${count.index+1}"
subdomain = "sgoyal-${count.index+1}"
region = "eu12"
}
module "sap-btp-entitlements" {
count = 12
source = "aydin-ozcan/sap-btp-entitlements/btp"
version = "1.0.1"
subaccount = btp_subaccount.my_project[count.index].id
entitlements = var.entitlements
}
Please let us know if anything needs to be updated so as to reproduce the issue. Thanks & Regards Sarthak Goyal
Purpose
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
What to Check
Verify that the following are valid:
Other Information
Checklist for reviewer
The following organizational tasks must be completed before merging this PR: