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

[Feature Request] Custom Extension #114

Open
nickattardgsys opened this issue Mar 11, 2022 · 2 comments
Open

[Feature Request] Custom Extension #114

nickattardgsys opened this issue Mar 11, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@nickattardgsys
Copy link

nickattardgsys commented Mar 11, 2022

Quite simple, need to add the ability to create custom extensions via the operator. Currently this can be achieved by posting a zip file with the plugin.json.

In this particular case the extensions are JMX extensions, but I'm sure this can apply to any other type.

Would be convenient to add this functionality to the provider.

Cheers

@Dynatrace-Reinhard-Pilz Dynatrace-Reinhard-Pilz added the enhancement New feature or request label Apr 1, 2022
@Dynatrace-Reinhard-Pilz
Copy link

That one will be a challenge. Uploading binary files is not necessarily something a Terraform Provider is supposed to do.
I will however look into the possibility to narrow things down to JMX Extensions only. Perhaps the plugin.json can get embedded into the .tf file using jsonencode.

@nickattardgsys
Copy link
Author

Uploading a binary file via terraform is not easy indeed. However if the provider expects a json input, then providing the json document as-is from dynatrace-ui or custom then referencing it in the code is a vaild solution in my mind. something on the lines of local_file resource with jsondecode, then reference that resource as the payload for creating the custom extension.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants