Skip to content

Commit

Permalink
docs(sample_project): replace deprecated ip_filter argument (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
staceysalamon-aiven authored Sep 8, 2023
1 parent 2ac6917 commit 7e58842
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions sample_project/sample.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ resource "aiven_influxdb" "sampleinflux" {
maintenance_window_dow = "monday"
maintenance_window_time = "11:00:00"
influxdb_user_config {
ip_filter = ["0.0.0.0/0"]
ip_filter_object {
network = "0.0.0.0/0"
}
}
}

Expand All @@ -90,7 +92,7 @@ resource "aiven_service_integration" "samplekafka_metrics" {
destination_service_name = aiven_influxdb.sampleinflux.service_name
}

# PostreSQL service
# PostgreSQL service
resource "aiven_pg" "samplepg" {
project = data.aiven_project.sample.project
cloud_name = "google-europe-west1"
Expand Down Expand Up @@ -147,7 +149,9 @@ resource "aiven_grafana" "samplegrafana" {
plan = "startup-4"
service_name = "samplegrafana"
grafana_user_config {
ip_filter = ["0.0.0.0/0"]
ip_filter_object {
network = "0.0.0.0/0"
}
}
}

Expand Down

0 comments on commit 7e58842

Please sign in to comment.