-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
feat: allow to safely depend on other resources to read from the identity store #33
feat: allow to safely depend on other resources to read from the identity store #33
Conversation
Any chance to get a review and merge? |
@simonweil thanks. can you please run
and commit the changes |
9559fe3
to
8c617b8
Compare
I ran it but I think it did not do the expected thing... |
/rebuild-readme |
Looks good to me |
@josephmilla is anything still missing? Can it get merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simonweil please see comments
Should be good |
I'd be glad to get it merged... |
@simonweil please rename the variable
|
Done and pushed |
/test all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @simonweil
what
This adds a workaround for the
depends_on
issue with modules and data sources.null_resource
to use fordepends_on
for the data resourceIf the PR is acceptable, we can add an example usage to avoid the recreation of resources.
why
depends_on
to a module can create a situation that every change to the dependee will recreate ALL the resources of the module which is super badIn my case I have to following code:
When ever I need to change the
local.accounts_list
it causes ALL the assignments to be recreated, disconnecting users and causing mayhem...With the proposed change I need to change the
account_assignments
module and now I can add or remove accounts safely:references