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 Cloud Run SLO support #11935
Comments
Note: I haven't looked at the API yet, but this sounds like it may be a resource rather than a datasource |
Hey, I've been looking at this today a bit, and you're right. Monitoring service needs to be created so it's resource not a data source. Regarding the name, shouldn't it be
|
There's an internal Google ticket (b/234447582) about this that I am actively working on. Preview: jakubsacha's choice of We currently have |
Thanks for a feedback. Please let me know in case I can support you. |
Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. hashicorp/terraform-provider-google#11935
* Support ability to create "non-custom" services Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. hashicorp/terraform-provider-google#11935 * Specify BasicService is immutable * Responding to review comments. * Add test; make service_id required * labels still need input: true; remove encoder * Correct typo * Ignore service fields in SLO import test * Correct test * Make id_format and import_format the same * Remove custom code * Correct test typo * service is actually input-only * Add resource test
* Support ability to create "non-custom" services Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. hashicorp/terraform-provider-google#11935 * Specify BasicService is immutable * Responding to review comments. * Add test; make service_id required * labels still need input: true; remove encoder * Correct typo * Ignore service fields in SLO import test * Correct test * Make id_format and import_format the same * Remove custom code * Correct test typo * service is actually input-only * Add resource test Signed-off-by: Modular Magician <magic-modules@google.com>
* Support ability to create "non-custom" services Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. hashicorp/terraform-provider-google#11935 * Specify BasicService is immutable * Responding to review comments. * Add test; make service_id required * labels still need input: true; remove encoder * Correct typo * Ignore service fields in SLO import test * Correct test * Make id_format and import_format the same * Remove custom code * Correct test typo * service is actually input-only * Add resource test Signed-off-by: Modular Magician <magic-modules@google.com> Signed-off-by: Modular Magician <magic-modules@google.com>
* Support ability to create "non-custom" services Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. hashicorp/terraform-provider-google#11935 * Specify BasicService is immutable * Responding to review comments. * Add test; make service_id required * labels still need input: true; remove encoder * Correct typo * Ignore service fields in SLO import test * Correct test * Make id_format and import_format the same * Remove custom code * Correct test typo * service is actually input-only * Add resource test Signed-off-by: Modular Magician <magic-modules@google.com>
* Support ability to create "non-custom" services Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. hashicorp#11935 * Specify BasicService is immutable * Responding to review comments. * Add test; make service_id required * labels still need input: true; remove encoder * Correct typo * Ignore service fields in SLO import test * Correct test * Make id_format and import_format the same * Remove custom code * Correct test typo * service is actually input-only * Add resource test Signed-off-by: Modular Magician <magic-modules@google.com>
* Support ability to create "non-custom" services Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. hashicorp/terraform-provider-google#11935 * Specify BasicService is immutable * Responding to review comments. * Add test; make service_id required * labels still need input: true; remove encoder * Correct typo * Ignore service fields in SLO import test * Correct test * Make id_format and import_format the same * Remove custom code * Correct test typo * service is actually input-only * Add resource test Signed-off-by: Modular Magician <magic-modules@google.com> Signed-off-by: Modular Magician <magic-modules@google.com>
* Support ability to create "non-custom" services Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. #11935 * Specify BasicService is immutable * Responding to review comments. * Add test; make service_id required * labels still need input: true; remove encoder * Correct typo * Ignore service fields in SLO import test * Correct test * Make id_format and import_format the same * Remove custom code * Correct test typo * service is actually input-only * Add resource test Signed-off-by: Modular Magician <magic-modules@google.com> Signed-off-by: Modular Magician <magic-modules@google.com>
* Support ability to create "non-custom" services Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. hashicorp/terraform-provider-google#11935 * Specify BasicService is immutable * Responding to review comments. * Add test; make service_id required * labels still need input: true; remove encoder * Correct typo * Ignore service fields in SLO import test * Correct test * Make id_format and import_format the same * Remove custom code * Correct test typo * service is actually input-only * Add resource test Signed-off-by: Modular Magician <magic-modules@google.com>
* Support ability to create "non-custom" services Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. hashicorp/terraform-provider-google#11935 * Specify BasicService is immutable * Responding to review comments. * Add test; make service_id required * labels still need input: true; remove encoder * Correct typo * Ignore service fields in SLO import test * Correct test * Make id_format and import_format the same * Remove custom code * Correct test typo * service is actually input-only * Add resource test Signed-off-by: Modular Magician <magic-modules@google.com> Signed-off-by: Modular Magician <magic-modules@google.com>
This has been released. Check out the documentation: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/monitoring_service |
Closing, thanks! In the future if you use "Fixes {{issue}}" in a PR body, merging the PR will autoclose the issue. |
Ah- @slevenick beat me to it. |
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
According to these release notes, Cloud Run recently added support for SLOs. If these are supported already by the current TF resources, it's not really clear how, and I suspect that at least a new google_monitoring_cluster_cloud_run_service data source would be necessary (or at least very convenient). There might be additional needs on new/existing data sources/resources - this is my first time configuring SLOs, so newb alert/disclaimer.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: