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

Add resources for ComputeOptimizer Recommendation Preferences #23945

Closed
chrisgilmerproj opened this issue Mar 30, 2022 · 9 comments · Fixed by #35349
Closed

Add resources for ComputeOptimizer Recommendation Preferences #23945

chrisgilmerproj opened this issue Mar 30, 2022 · 9 comments · Fixed by #35349
Assignees
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. new-service Introduces a new service.
Milestone

Comments

@chrisgilmerproj
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

AWS has a service named AWS Compute Optimizer. It allows you to turn on enhanced infrastructure metrics for EC2 instances and Auto Scaling Groups. To do so you have to use the AWS CLI computeoptimizer put-recommendation-preferences command or manage these preferences manually in the AWS Console. I would like to see a resource in terraform aws provider that let's me manage this.

There is already a Golang API in the SDK for Compute Optimizer.

New or Affected Resource(s)

  • aws_computeoptimizer_recommendation_preferences

Potential Terraform Configuration

resource "aws_computeoptimizer_recommendation_preferences" "prefs" {
  enchanced_infrastructure_metrics = "Active" # default
  inferred_workload_types          = "Active" # default
  resource_type                    = "AutoScalingGroup"
  scope = {
    name  = "ResourceARN"
    value = aws_autoscaling_group.web.arn
  }
}

References

@chrisgilmerproj chrisgilmerproj added the enhancement Requests to existing resources that expand the functionality or scope. label Mar 30, 2022
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Mar 30, 2022
@justinretzolk justinretzolk added new-resource Introduces a new resource. new-service Introduces a new service. and removed needs-triage Waiting for first response or review from a maintainer. labels Jun 8, 2022
@f0xtek
Copy link

f0xtek commented Mar 3, 2023

Hello.

As per Pull Request 27310, the AWS Compute Optimizer service was added to v4.36.0 of this AWS provider.

However, the change log for that release, or any releases since, don't appear to have added support for that service. The Terraform AWS provider documentation also does not have this service available.

Am I missing something? Or was this functionality not included in the provider?

@iancoralogix
Copy link

Hello @f0xtek, I just wanted to confirm that I cannot see this functionality in the v4.57.1 provider, thank you!

@sahaqaa
Copy link

sahaqaa commented Jun 3, 2023

Please advice - does Terraform AWS provider supports AWS Compute Optimizer?

@nicolaei
Copy link
Contributor

nicolaei commented Jun 29, 2023

From what I can see in #27310, @sasidhar-aws didn't actually add any resources 🤔

The PR only adds the Compute Optimizer SDK as a dependency and configures it. The only thing present in the compute optimizer package is a README.md and some generated files.

@hunttom
Copy link
Contributor

hunttom commented Nov 8, 2023

I would like to try to solve this.

@hunttom
Copy link
Contributor

hunttom commented Jan 17, 2024

Status update - Sorry for the delay. I've opened a PR request, I have some open questions prior to a merge with main branch.

Questions can be seen here: #35349.

@ewbankkit ewbankkit self-assigned this Sep 6, 2024
@github-actions github-actions bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Sep 6, 2024
Copy link

Warning

This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.

Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.

@github-actions github-actions bot added this to the v5.67.0 milestone Sep 10, 2024
@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Sep 13, 2024
Copy link

This functionality has been released in v5.67.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!

Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. new-service Introduces a new service.
Projects
None yet
8 participants