-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Create a Data Source Provider for the "Service Discovery" Resources #14881
Comments
Any update on when the data source for |
I just opened a pull request that I believe takes care of the remaining requested data sources. Please let me know if there is something in this issue that is not covered by the two additional data sources in the Pull request:
|
could we merge this pr it would be very helpful |
This functionality has been released in v4.21.0 of the Terraform AWS 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! |
Just tried out the new providers in v4.21.0, and @brittandeyoung's PR closes the gap on missing functionality. However, I think the scope of this ticket left off some required functionality for instances. I think this ticket should have had a data provider "aws_service_discovery_instance" that takes in the cloud map service id and returns the list of instances backing the service, and the instance's individual attributes. "aws_service_discovery_service" returns the service's attributes and tags as expected. But I have no way to get to the values I need on the instances. I am using an http only service, so health checks, and dns_config do not apply. My "service instances" have arbitrary names and each has custom attributes (key/value pairs). For reference, here is the API call in python for get_instance
|
@matt-land If there is new functionality needed outside of scope of this issue, please open up a new issue for this functionality as mentioned by the github-action bot. This way it can be tracked and worked on. |
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. |
Community Note
Description
Create a Data Source Provider for the Service Discovery Resources:
New or Affected Resource(s)
The following Data Sources would be new. (The resources already exist)
Potential Terraform Configuration
Below is a potential use case for how the data sources could be used in a Terraform Configuration
References
None
The text was updated successfully, but these errors were encountered: