-
Notifications
You must be signed in to change notification settings - Fork 12
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
DBFS file artefact upload happens each terraform apply even if file(s) have not changed #261
Comments
Building of the wheel file several times with the same source code results in files having different md5 hashes which is what Terraform uses to determine whether the file has changed or not. The wheel file gets built each time |
I'd like to keep this open until we have a plan for #197 . If, for instance, we had to incur downtime on the updating of data code then we need to limit this as much as possible, else it will make deployments very difficult and limit our ability to deploy regularly. |
As it stands, we are not incurring downtime on updating of the data code, and I don't see us doing this in the future, so I don't think these two issues are related, or going to be related |
From #197 :
If not this - how will we ensure that new data code is picked up in a running cluster? |
We are discussing issue #197 now so I will reply there... |
Agree it’s not breaking anything and should be treated as low priority, but believe it should remain open so there can at least be some small investigation into whether there’s an easy fix or not - it isn’t by design that it’s changing every time, it’s a by-product of the mechanism we’re using to build and upload artefacts. Terraform should report no changes and take no action if in reality nothing has changed; however following investigation if the fix is not a simple one, happy for it to be closed as wontfix |
@tanya-borisova I believe you fixed this? |
The fix for this is to add this for the building of the wheel:
Because it's added to the Data-Pot (see https://github.com/UCLH-Foundry/FlowEHR-Data-Pot/pull/14/files), I believe this should be considered as fixed |
Describe the bug
When re-running Terraform with no changes, this happens each time:
Expectation
There should be no changes if the file(s) have not changed
The text was updated successfully, but these errors were encountered: