Skip to content

Commit

Permalink
allow access from anywhere in example
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Jul 20, 2023
1 parent a62fe71 commit d8a79db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/basic/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Example module

## Limitations

- This module does NOT restrict access to MongoDB from any particular IP address.
5 changes: 5 additions & 0 deletions examples/basic/mongodb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,8 @@ resource "google_secret_manager_secret_version" "main" {
secret = google_secret_manager_secret.main.id
secret_data = random_password.mongodb_user_password.result
}

resource "mongodbatlas_project_ip_access_list" "test" {
project_id = var.mongodbatlas_project_id
cidr_block = "0.0.0.0/0"
}

0 comments on commit d8a79db

Please sign in to comment.