Comments (9)
@RCarvalhoSiemens Did another retest with the following configuration using the provider state of main
= upcoming release:
resource "btp_directory" "dir_with_features" {
name = "my-feat-directory"
description = "This is a directory with features."
features = ["DEFAULT", "ENTITLEMENTS"]
}
resource "btp_directory_entitlement" "alert_notification_service" {
directory_id = btp_directory.dir_with_features.id
service_name = "alert-notification"
plan_name = "free"
}
resource "btp_subaccount" "my_project" {
parent_id = btp_directory.dir_with_features.id
name = "Retest entitlement Issue"
subdomain = "retest-issue-6690"
region = var.region
}
The user executing the script is globalaccount and subaccount admin.
No error appears when assigning the entitlement to the directory.
from terraform-provider-btp.
To be checked if related to #537. Potentially a duplicate.
from terraform-provider-btp.
@RCarvalhoSiemens Can you please provide the role collections assigned to the user for:
- the setup that works
- the setup that raises the error
from terraform-provider-btp.
Hello @lechnerc77, the role collection assigned was the same on both setups, Subaccount Administrator
from terraform-provider-btp.
@RCarvalhoSiemens:
so no global account admin was assigned to the user?
In case of user management on directory level. no directory admin role collection was assigned to the user that executed the script?
from terraform-provider-btp.
Fixed with #537 - available with release 1.0.0
from terraform-provider-btp.
Hello @lechnerc77,
@RCarvalhoSiemens: so no global account admin was assigned to the user? In case of user management on directory level. no directory admin role collection was assigned to the user that executed the script?
Global account admin was assigned to the user.
I believe it is not the same problem as in #537 because I the entitlements are added by terraform although I have the error message mentioned above
from terraform-provider-btp.
@RCarvalhoSiemens : I could not reproduce the issue with what is currently available in the main
branch.
Can you share the Terraform configuration you are using for the overall setup, so that we can give that a try?
Addition: the fix of #537 changed how authentications are propagated to the endpoints behind the scenes. I assume the error appears due to RC2 not yet propagating the information correctly after an implementation change in the APIs we use.
from terraform-provider-btp.
Sure, here you can find attached the file with the provider configuration as well as the directory entitlement part
TF config & directory entitlements.txt
from terraform-provider-btp.
Related Issues (20)
- Link Checker Report HOT 1
- [BUG] Import of btp_subaccount_trust_configuration not possible - Unexpected Import Identifier HOT 6
- OpenTofu Compatibility Check
- [INTERNAL] Include Terraform 1.7 HOT 1
- [BUG] Error after Update of Trust Configuration of default IdP HOT 5
- Link Checker Report HOT 2
- [BUG] Sonar Cloud errors HOT 3
- [BUG] btp_subaccount_service_instance: "AttributeName("context"): unsupported type json.Delim sent as tftypes.String" after upgrading rc1 -> rc2 HOT 10
- [BUG] Error in destroy of entitlement on directory level - timeout HOT 5
- [BUG] Unable to login with correct login credentials HOT 1
- [FEATURE] Add devcontainer to dependabot
- [BUG] Create Cloud Foundry Env Instance Return Error HOT 5
- [FEATURE] Managing API Credentials for Calling REST APIs of SAP Authorization and Trust Management Service HOT 1
- [DOCS] Improve example for CF environment instance
- [FEATURE] Manage HANA Cloud instance mappings HOT 2
- [BUG] Align facade parameters with CLI server
- [INTERNAL] Update schema regression test HOT 1
- [FEATURE] add timeout block to resources HOT 4
- [BUG] No bridge to cloud foundry without manual interaction HOT 5
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.