Skip to content

Commit

Permalink
http provider fix
Browse files Browse the repository at this point in the history
  • Loading branch information
commjoen committed Nov 26, 2022
1 parent 33f5932 commit 55da1a1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module "eks" {

cluster_endpoint_private_access = true

cluster_endpoint_public_access_cidrs = ["${data.http.ip.request_body}/32"]
cluster_endpoint_public_access_cidrs = ["${data.http.ip.response_body}/32"]

enable_irsa = true

Expand Down
6 changes: 3 additions & 3 deletions azure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ The documentation below is auto-generated to give insight on what's created via

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | ~> 3.33.0 |
| <a name="provider_http"></a> [http](#provider\_http) | ~> 3.2.0 |
| <a name="provider_random"></a> [random](#provider\_random) | ~> 3.4.3 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 3.29.1 |
| <a name="provider_http"></a> [http](#provider\_http) | 3.2.1 |
| <a name="provider_random"></a> [random](#provider\_random) | 3.4.3 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion azure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ resource "azurerm_kubernetes_cluster" "cluster" {

kubernetes_version = var.cluster_version

api_server_authorized_ip_ranges = ["${data.http.ip.request_body}/32"]
api_server_authorized_ip_ranges = ["${data.http.ip.response_body}/32"]

network_profile {
network_plugin = "azure"
Expand Down
8 changes: 4 additions & 4 deletions gcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ The documentation below is auto-generated to give insight on what's created via

| Name | Version |
|------|---------|
| <a name="provider_google"></a> [google](#provider\_google) | ~> 4.44.1 |
| <a name="provider_google-beta"></a> [google-beta](#provider\_google-beta) | ~> 4.44.1 |
| <a name="provider_http"></a> [http](#provider\_http) | ~> 3.2.0 |
| <a name="provider_random"></a> [random](#provider\_random) | ~> 3.4.3 |
| <a name="provider_google"></a> [google](#provider\_google) | 4.42.0 |
| <a name="provider_google-beta"></a> [google-beta](#provider\_google-beta) | 4.42.0 |
| <a name="provider_http"></a> [http](#provider\_http) | 3.2.0 |
| <a name="provider_random"></a> [random](#provider\_random) | 3.4.3 |

## Modules

Expand Down
2 changes: 1 addition & 1 deletion gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ resource "google_container_cluster" "gke" {

master_authorized_networks_config {
cidr_blocks {
cidr_block = "${data.http.ip.request_body}/32"
cidr_block = "${data.http.ip.response_body}/32"
display_name = "user origin"
}
}
Expand Down

0 comments on commit 55da1a1

Please sign in to comment.