-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opentelekomcloud_identity_user_v3: error sending a welcome email: Action Forbidden code": 403,"message": "userId is invalid" #2484
Comments
Hello @shaderecker I wasn't able to reproduce the issue. |
Hmm, I can reproduce it just now. |
Maybe something was changed from API side regarding newly created projects. Can you try running the same config on existing one? |
I now set the project_id to the id of the exiting "eu-nl" project. |
There shouldn't be any and as you mentioned it worked fine before. |
Hi @shaderecker please ask support if there any restrictions for sending thise emails? This is not provider issue |
I wrote an email to the OTC support |
Did we find out what is the root cause of this behaviour? At first glimpse it looks like some IAM issue of POST https://iam.../v3.0/OS-USER/users/{project}/welcome. Could it be the special email receipient address (email = "myemail+test1@gmail.com") that triggers the issue? I have some suspicion that some validation regexp might fire here. This does not explain why it happens not every time, though. TBH, technically this is not a Terraform issue, but, I'm pretty sure would also happen if we used the API directly here. Effectively that's what the API returns here (an 403 error). TF is just conveying this error to the user. (Extra question: Is there a reason why I can't click on the screenshots to see it in original size? Those don't load for me?!) |
Terraform provider version
Affected Resource(s)
opentelekomcloud_identity_user_v3
Terraform Configuration Files
Debug Output/Panic Output
https://gist.github.com/shaderecker/39a10b0d236c99a55df34fabee948492
Steps to Reproduce
terraform apply
Expected Behavior
Actual Behavior
error during user creation, fails at "error sending a welcome email:"
Important Factoids
I did not change anything on my side since the last run.
The last time I ran my terraform code was on 04.04.24 and this was working back then.
The user has the same IAM permissions as before (admin), nothing changed there.
References
The text was updated successfully, but these errors were encountered: