-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support attach and detach exporters from service #188
base: main
Are you sure you want to change the base?
Conversation
64da386
to
a1e3c87
Compare
This adds support for attach and detaching exporters from service. This is supported using two new fields on the service resource, metric_exporter_id and log_exporter_id. This change also adds a data source to import existing exporters by name.
a1e3c87
to
51882d3
Compare
|
||
### Required | ||
|
||
- `name` (String) The name of this exporter. Exporter names must be unique in order to manage them using Terraform. |
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.
Since we can have exporters with the same name, this isn't right
There is no issue with having two exporters with the same name since they're managed (ie attached) using the ids
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.
there was an internal meeting where we decided to go forward with import by name, otherwise we'll have to start showing IDs in the UI. This seems similar to have VPC works? It also fetches VPCs by name and I don't see VPC IDs in the UI
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.
yes but names are unique for vpc by design
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.
is the solution you're thinking of to show IDs in the UI?
This adds support for attach and detaching exporters from service. This is supported using two new fields on the service resource, metric_exporter_id and log_exporter_id. This change also adds a data source to import existing exporters by name.
Issues