-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
New Resource: azurerm_datadog_monitor
#16131
New Resource: azurerm_datadog_monitor
#16131
Conversation
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.
Thank you for opening this PR, it looks great!
I left some suggestions, please take a look.
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 @vikotha - left some comments while passing thorugh inline
…ub.com/vikotha/terraform-provider-azurerm into vikotha/datadog_plugin_monitorresource
This reverts commit a58f1ad.
@katbyte can you please review the updated changes. |
@koikonom Can you please review this PR or assign someone |
Hey @mbfrahry In our scenario, there exists a RT which has child resources with 1:1 mapping. So should it be part of same schema or we can have separate schema for child RTs? |
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.
Hey @vikotha, thanks for opening this PR! Datadog Monitor was a doozy to figure out but this PR does a good job of mapping that functionality into Terraform. I've called out quite a few things and they're mostly gotchas from the api not returning things the way we expected.
Unfortunately, the acceptance tests don't work because our acceptance test framework only uses service principal auth. I don't have a solution for that yet, but I'll report back once I do
@mbfrahry, can you please review the changes. |
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.
Hey @vikotha, I think we're nearly there. The big asks are to remove the d.Set
for users and a big pass through the documentation. All throughout the doc,datadog Monitor
needs to be cased to Datadog Monitor
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.
Looks like a couple things were still missed and we need to update the tests to skip them if those environments variables haven't been set.
Can you point out those parameters. |
Hey @vikotha, this ask around tests that needs to be looked at #16131 (comment) |
@mbfrahry Added the check |
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.
LGTM! Thank you for getting everything addressed in the reviews
azurerm_datadog_monitor
This functionality has been released in v3.16.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
No description provided.