-
Notifications
You must be signed in to change notification settings - Fork 35
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
Could not map JSON at 'supportingServicesToMonitor[0].monitoredMetrics[0].statistic'
in dynatrace_aws_credentials
modules
#357
Comments
Could not map JSON at 'supportingServicesToMonitor[0].monitoredMetrics[0].statistic'
in dynatrace_aws_credentials modulesCould not map JSON at 'supportingServicesToMonitor[0].monitoredMetrics[0].statistic'
in dynatrace_aws_credentials
modules
Just did some more testing and found that we can successfully deploy on v1.46.0, so I'm guessing this must be an issue with v1.46.1. |
Hello @EthanZmuda , thanks for reporting the issue. What I cannot find a satisfying answer for is the question why a rollback to a specific other version leads to the problem to emerge less likely. I've checked our GitHub history - Release 1.47.1 will contain routines that are able to recognize erroneously empty blocks for this resource and ignore them. |
Hello @EthanZmuda, let me know if v1.47.1 indeed fixes your issues. Reproducing the problem is unfortunately a hit and miss, therefore I'd be grateful for feedback from your side. |
@Dynatrace-Reinhard-Pilz Thanks! I'll let you know if it's working better next time we make changes in the repo. |
Describe the bug
We are getting the error described in the title when trying to run deploys. This error is happening on settings unrelated to our changes which have previously deployed successfully. Here is the full error:
This error is inconsistently happening on many
dynatrace_aws_credentials
modules. Sometimes when redeploying the error resolves on some modules and starts occurring on others. Here is an example of one such module:This error is especially odd because this module doesn't have a
.monitoredMetrics[0].statistic
attribute (nor do any of our modules throwing this error), yet the error is saying the issue is with that attribute. According to the documentation, this attribute is not required. Adding this attribute does not necessarily resolve the error.Expected behavior
Successful deploys, with no inconsistent error due to an attribute in our modules which doesn't exist.
Desktop (please complete the following information):
Additional context
This issue began occurring during deploys today. Our most recent successful deploy used version v1.46.0.
The text was updated successfully, but these errors were encountered: