Skip to content
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

Exporting all resources creates dynatrace_http_monitor with script block *and* corresponding dynatrace_http_monitor_script #642

Open
ajoga opened this issue Feb 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ajoga
Copy link

ajoga commented Feb 26, 2025

Hello,

A note in the http_monitor_script documentation states:

This resource allows you to manage the script of your HTTP monitor separately from the dynatrace_http_monitor resource. To utilize this resource, please omit the script block and set no_script=true in your dynatrace_http_monitor resource.

When exporting all our Dynatrace configuration with ./terraform-provider-dynatrace_v1.74.1 -export -id, we find both a dynatrace_http_monitor with the script block section filled for a given HTTP monitor and a dynatrace_http_monitor_script definition for that same HTTP monitor.

Shouldn't the dynatrace_http_monitor not have a script block and set no_script=true ?

Provider version 1.74.1
Tofu version 1.8.6
Dynatrace managed version 1.306.93.20250123-185133

@ajoga ajoga added the bug Something isn't working label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant