-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Region Info: Cound not insert new fact from a Java process #16786
Comments
So it turns out the reason why the custom fact was not used is because the stack that used it was likely "region-agnostic", so it could not use a registered fact and instead used the default value. In this case, the proper avenues to address this are: |
Closing this then. |
|
What is the problem?
Attempting to register new
Fact
instances into the region info database is very inconvenient in Java, as a full-on implementation of an interface has to be rolled out (where a Struct would have been enough), and it also does not appear to work.Reproduction Steps
Attempted to add a new custom class as an
IFact
implementation to the region info database - it did not appear to work.What did you expect to happen?
Expected the fact to be registered and the behavior of the app to change according to that.
What actually happened?
The behavior of the app did not change.
CDK CLI Version
1.122.0
Framework Version
No response
Node.js Version
12.x
OS
Linux
Language
Java
Language Version
8
Other information
No response
The text was updated successfully, but these errors were encountered: