question

Matthew E. avatar image
Matthew E. asked ·

Dynatrace Terraform provider?

Does Dynatrace have any kind of Terraform provider?

I have a client that uses Terraform and would like to auto-add maintenance windows for machines and be able to generate an AWS API token and associate it with the IAM Dynatrace role.

amazon web services
1 comment
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

After some Googling, I found other Dynatrace users have made attempts with Terraform for various use cases...

https://github.com/raffaele-talarico/dynatrace-terraform-aws

https://github.com/dyladan/terraform-provider-dynatrace


But what would be really good would be to offer an officially supported provider like some of your competitors (i.e. Data Dog, New Relic).


We just ran into a use case where we wanted to use Terraform to create an AWS account, then add that AWS account into Dynatrace for CloudWatch integration. All the APIs for this exist, so it could be done by community, but it would be fantastic if Dynatrace worked with HashiCorp to have an officially supported provider and appeared on this list https://www.terraform.io/docs/providers/index.html.

0 Likes 0 · ·
Matthew E. avatar image
Matthew E. answered ·
1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

You're right :)

0 Likes 0 · ·
Pawel B. avatar image
Pawel B. answered ·
@Matthew E.

can you elaborate a bit on the use case ? Is it about Terraform providing Dynatrace info about maintenance windows so we suppress allerting based on this for specified machines ? Also please clarify what do you want to solve with your second request.

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Pawel,

I will try and explain although I don't understand Terraform terribly well.

I think what the client was trying to do was to use Terraform to push out changes and as part of that tell Dynatrace to enter that entity into a 'maintenance mode' so that Dynatrace AI wouldn't generate an alert for an unavailable host or service. I think they also wanted that logged on the Dynatrace side (assuming using the Events API).

So I guess the question really is, what kinds of integration could we do with Terraform? It was more an art of the possible question than a specific use case although they are looking to do two specific things.

1) Have Terraform create a maintenance window inside Dynatrace for entities that are being affected by change

2) Have Terraform push an event via the events API so that context is given inside Dynatrace.

I think our APIs have this capability already but they are looking for a Terraform example of it.

0 Likes 0 · ·
Arun R. avatar image
Arun R. answered ·

Matthew, Do you find any solution for this question ?

2 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

I did not, although I'm sure there is one... just haven't had a reply yet.

0 Likes 0 · ·

Thanks for the quick reply.

0 Likes 0 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions session replay diagnostic tools permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android