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

fix(compute-mig): add correct type optionality for metrics in autosca… #1668

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(compute-mig): linting
NotArpit committed Sep 12, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 9856f454064006b93ba9d95afd2c9d9874f6a4d6
33 changes: 11 additions & 22 deletions modules/compute-mig/README.md
Original file line number Diff line number Diff line change
@@ -7,17 +7,17 @@ This module can be coupled with the [`compute-vm`](../compute-vm) module which c
Stateful disks can be created directly, as shown in the last example below.

<!-- BEGIN TOC -->
- [Examples](#examples)
- [Simple Example](#simple-example)
- [Multiple Versions](#multiple-versions)
- [Health Check and Autohealing Policies](#health-check-and-autohealing-policies)
- [Autoscaling](#autoscaling)
- [Update Policy](#update-policy)
- [Stateful MIGs - MIG Config](#stateful-migs-mig-config)
- [Stateful MIGs - Instance Config](#stateful-migs-instance-config)
- [Files](#files)
- [Variables](#variables)
- [Outputs](#outputs)
- [GCE Managed Instance Group module](#gce-managed-instance-group-module)
- [Examples](#examples)
- [Simple Example](#simple-example)
- [Multiple Versions](#multiple-versions)
- [Health Check and Autohealing Policies](#health-check-and-autohealing-policies)
- [Autoscaling](#autoscaling)
- [Update Policy](#update-policy)
- [Stateful MIGs - MIG Config](#stateful-migs---mig-config)
- [Stateful MIGs - Instance Config](#stateful-migs---instance-config)
- [Variables](#variables)
- [Outputs](#outputs)
<!-- END TOC -->

## Examples
@@ -390,17 +390,6 @@ module "nginx-mig" {
# tftest modules=2 resources=3 inventory=stateful.yaml
```
<!-- BEGIN TFDOC -->
## Files

| name | description | resources |
|---|---|---|
| [autoscaler.tf](./autoscaler.tf) | Autoscaler resource. | <code>google_compute_autoscaler</code> · <code>google_compute_region_autoscaler</code> |
| [health-check.tf](./health-check.tf) | Health check resource. | <code>google_compute_health_check</code> |
| [main.tf](./main.tf) | Module-level locals and resources. | <code>google_compute_instance_group_manager</code> · <code>google_compute_region_instance_group_manager</code> |
| [outputs.tf](./outputs.tf) | Module outputs. | |
| [stateful-config.tf](./stateful-config.tf) | Instance-level stateful configuration resources. | <code>google_compute_per_instance_config</code> · <code>google_compute_region_per_instance_config</code> |
| [variables.tf](./variables.tf) | Module variables. | |
| [versions.tf](./versions.tf) | Version pins. | |

## Variables