Comments (7)
The application you mentioned is a custom application, used by an SAP Partner.
Did not test that for quite sometime but yes, subscription via terraform should be working, it worked before.
I am not sure if that is officially supported though.
Can you compare your "btp_subaccount_subscription" resource with the one I have here?
from terraform-provider-btp.
@stefania-santimbrean if you have no plan name for your application, this might cause issues. You can hand over an empty string, but I am not sure if this does the trick. Can you register your app with an explicit plan name (e.g., default
) and try the subscription to the app again?
from terraform-provider-btp.
Hello @lechnerc77 , @alperdedeoglu ,
Thanks for your suggestions! Indeed, I modified saas registry config in mta to have appPlan name default similar to this: https://github.com/SAP-samples/btp-cap-multitenant-saas/blob/main/deploy/cf/mta.yaml#L371 and it's now working!
Many thanks,
Stefania
from terraform-provider-btp.
Thanks for the feature request. We evaluate it and update the issue accordingly.
Community Note
Voting for Prioritization
- Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
- If you are interested in working on this issue, please leave a comment.
- If this would be your first contribution, please review the contribution guide.
from terraform-provider-btp.
Hello @alperdedeoglu ,
What do you mean to compare "btp_subaccount_subscription" source?
Thanks,
Stefania
from terraform-provider-btp.
Subscription is created via a resource type called "btp_subaccount_subscription" in this file.
Please make sure that your SaaS Registry app name and plan name is precise and correct. It might be the reason that your app name or plan name are not matching therefore terraform provider can not find your application in the BTP Marketplace.
resource "btp_subaccount_subscription" "project" {
subaccount_id = btp_subaccount.project.id
app_name = local.kyma ? "${var.app_name}-${var.namespace}-${var.shootname}" : "${var.app_name}-${var.space}-${var.org}"
plan_name = var.app_plan
}
from terraform-provider-btp.
Hello @alperdedeoglu ,
App name is for sure correct and plan name is "default" or to be more precise we do not specify a plan name when we configure the saas-registry service instance. But resource "btp_subaccount_subscription" has the field plan_name mandatory...
I am talking about a custom saas app. Subscription to HANA Tools for example works.
Thanks,
Stefania
from terraform-provider-btp.
Related Issues (20)
- [FEATURE] Support for Service Broker Registration HOT 2
- [BUG] `btp_subaccount_role_collection` silently takes over already existing resource HOT 6
- API Error Reading Resource Subscription (Subaccount) [BUG] HOT 3
- [FEATURE] Add `dashboard_url` property to `btp_subaccount_service_instance` Resource and Data Source HOT 4
- [BUG] Templating does not work in error messages HOT 1
- [FEATURE] Add Retry Logic to resources to avoid rate limiting issues HOT 2
- Setting `Available for user logon` as `false` for `sap.default` IDP using the provider resource HOT 2
- [FEATURE] Add Attribute mapping in Subaccount Role Mapping Create HOT 4
- [BUG] Cannot set a numeric quota to zero. Set an amount of zero (0) to remove an existing plan from an assigned directory or subaccount. HOT 12
- [FEATURE]Allow to manage BPT resources without a state. Delegate TF state houskeeping to BTP. HOT 2
- [BUG] Error: API Error Deleting Resource Role Collection Assignment (Subaccount). Cannot delete last admin user of subaccount. HOT 4
- [FEATURE] remote backends: s3, HTTP and kubernetes secrets examples HOT 8
- [BUG]Linting & related tests are broken
- Link Checker Report HOT 1
- [Feature Request] btp_subaccount_role with role template "CustomRoleTemplate" and attributes HOT 3
- [BUG] Missing example for data source `btp_directories`
- Link Checker Report HOT 2
- [BUG] Provider Login via IDP HOT 4
- [BUG] Rate limit exceeded errors still occurr HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-btp.