Skip to content

Commit 003f3a7

Browse files
author
Chris Griggs
authored
Reformat for Terraform Registry
Hi team, renamed the path of the source to the module registry instead of the GitHub repo removed variables because all variable information is sourced from the variable and output files. removed figure diagram because the Terraform Registry cannot render the image If you can merge this into master and then add another release/tag so that the module registry will update. After that we'll be able to verify this module. Thanks Chris
1 parent a275355 commit 003f3a7

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

Diff for: README.md

+2-22
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Modular Internal Load Balancer for GCE using forwarding rules.
66

77
```ruby
88
module "gce-ilb" {
9-
source = "github.com/GoogleCloudPlatform/terraform-google-lb-internal"
9+
source = "GoogleCloudPlatform/lb-internal/google"
1010
region = "${var.region}"
1111
name = "group2-ilb"
1212
ports = ["${module.mig2.service_port}"]
@@ -20,31 +20,11 @@ module "gce-ilb" {
2020
}
2121
```
2222

23-
### Input variables
24-
25-
- `region` (optional): Region for cloud resources. Default is `us-central1`.
26-
- `network` (optional): Name of the network to create resources in. Default is `default`.
27-
- `name` (required): Name for the forwarding rule and prefix for supporting resources.
28-
- `backends` (optional): List of backends, should be a map of key-value pairs for each backend, mush have the 'group' key.
29-
- `session_affinity`(optional): The session affinity for the backends example: NONE, CLIENT_IP. Default is `NONE`.
30-
- `ports` (required): List of ports range to forward to backend services. Max is 5.
31-
- `health_port` (requierd): Port to perform health checks on.
32-
- `source_tags`: (required): List of source tags for traffic between the internal load balancer.
33-
- `target_tags`: (required): List of target tags for traffic between the internal load balancer.
34-
- `ip_address` (optional) IP address of the internal load balancer, if empty one will be assigned. Default is empty.
35-
36-
### Output variables
37-
38-
- `ip_address`: The internal IP assigned to the regional fowarding rule.
3923

4024
## Resources created
4125

42-
**Figure 1.** *diagram of terraform resources*
43-
44-
![architecture diagram](./diagram.png)
45-
4626
- [`google_compute_forwarding_rule.default`](https://www.terraform.io/docs/providers/google/r/compute_forwarding_rule.html): The internal regional forwarding rule.
4727
- [`google_compute_region_backend_service.default`](https://www.terraform.io/docs/providers/google/r/compute_region_backend_service.html): The backend service registered to the given `instance_group`.
4828
- [`google_compute_health_check.default`](https://www.terraform.io/docs/providers/google/r/compute_health_check.html): The TCP health check for the `instance_group` targets on the `service_port`.
4929
- [`google_compute_firewall.default-ilb-fw`](https://www.terraform.io/docs/providers/google/r/compute_firewall.html): Firewall rule that allows traffic from the `source_tags` resources to `target_tags` on the `service_port`.
50-
- [`google_compute_firewall.default-hc`](https://www.terraform.io/docs/providers/google/r/compute_firewall.html): Firewall rule that allows traffic for health checks to the `target_tags` resources.
30+
- [`google_compute_firewall.default-hc`](https://www.terraform.io/docs/providers/google/r/compute_firewall.html): Firewall rule that allows traffic for health checks to the `target_tags` resources.

0 commit comments

Comments
 (0)