-
Notifications
You must be signed in to change notification settings - Fork 11
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
Monitors not updating in destination #191
Comments
Hello, thanks for reaching out. Are you re-importing the monitors after modifying the |
Yes - I am re-importing and upon checking the state I can see that the correct query is in the source state file. |
What version of the sync cli are you using? Could you also share the json definition for the monitor from both the source and destination files. I am curious to see what the queries look like and test to see if diff might be getting suppressed. If we cannot gain much information based on above, you can open a support ticket with our support team so we can gather a bit more specific information including the actual state files. Thanks |
Hi @skarimo Here is an example of the json for a monitor Source
Destination
Not sure how related this is but the source has a |
Thanks for sharing those. The config looks identical with an exception to Based on the outputs, I am inclined to think that the diff is caused by changes occurring to the destination resources outside of the tool. For example, if you manually update the monitor in destination org, this would not be reflected in the local state files, hence changes would not be applied. The tool currently does not do a "live refresh" (read current state from destination rather than state files). Does this seem like the root of the issue you are facing? |
Thank you @skarimo. I do not believe that we manually make changes to our destination. In our case, the destination is a EU specific domain and we treat it as a secondary to our US instance. So I understand the expected behavior....
|
Hello @skarimo - checking to see if you saw my message above? |
👋 Thanks for the ping, missed the reply.
|
Overview of issue:
In the documentation, it is stated that the purpose is
The source organization will not be modified, but the destination organization will have resources created and updated by the sync command.
However, I do not see my monitor updating via this sync tool. I expect that in thesource
I haveresourceA
which the sync tool will then create in the destination asresourceB
. If I make an edit toresourceA
, I expect running thesync
command to then updateresourceB
in mydestination
. But this does not happen.Steps to reproduce the issue:
resourceA
insource
sync
tool to get equivalent (resourceB
) in destination.resourceA
sync
toolresourceB
indestination
is unchanged.Describe the results you received:
resourceB
does not updateDescribe the results you expected:
I expect
resourceB
to update with the same changes that I made manually toresourceA
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: