-
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: api_management_api #2073
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.
hey @torresdal
Thanks for this PR :)
I've taken a look through and this is off to a good start - I've left some questions/comments inline, particularly around exposing soap_pass_through
vs the api_type
- but most of the comments I've left are fairly minor and this is looking pretty good 👍
Thanks!
54833e4
to
adcf32d
Compare
@tombuildsstuff I've resolved the ones that I've made code changes to, but left the ones I've commented on un-resolved. Could you please have a look at my comments, so we can find a solution to those, and then I'll push my changes? |
b49c6e3
to
e30c1c9
Compare
Just pushed the changes we did so far as a result of the review. Only thing missing now is to have a look at the unresolved items in the review and agree on a solution for each. Basically agree on what to do with:
|
ed5043f
to
abca3fe
Compare
* Ignore import, since state is only persisted in Terraform * Removed location from schema * Add seperate get after creating resource to get ID
Co-Authored-By: torresdal <jon@torresdal.net>
Co-Authored-By: torresdal <jon@torresdal.net>
Co-Authored-By: torresdal <jon@torresdal.net>
Co-Authored-By: torresdal <jon@torresdal.net>
Co-Authored-By: torresdal <jon@torresdal.net>
Co-Authored-By: torresdal <jon@torresdal.net>
…t-api data source
abca3fe
to
2e0cf0c
Compare
@tombuildsstuff Anything else I should do or we should agree on before moving this on? |
can this be reopened and added to a future release? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Added next resource in the API Management family as requested in #1177
For now this resource is quite basic with main focus on importing API's through swagger/wsdl. Remaining future options for this resource would typically depend on other not yet developed resources which is in the pipeline (like Authorization and Product).
Note: In API Management API the concepts of Revisions and Versions are supported, but I'm not sure those concepts belong in this Terraform resource, since they are more deployment concepts and not infrastructure. Because of this I've omitted them for now, except as computed values. If you agree with this we should probably say something about that in the docs.