Skip to content

Commit

Permalink
acl is required
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Oren committed May 22, 2023
1 parent 2b54556 commit 20a1b86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func config(name string) string {
name = "%s"
project_id = "%s"
machine_type = "%s"
acl = ["193.148.160.0/19","45.129.40.1/21"]
}
`,
name,
Expand Down
2 changes: 1 addition & 1 deletion stackit/internal/resources/mongodb-flex/instance/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp
"acl": schema.ListAttribute{
Description: "Access Control rules to whitelist IP addresses",
ElementType: types.StringType,
Optional: true,
Required: true,
Computed: true,
},
"timeouts": common.Timeouts(ctx, timeouts.Opts{
Expand Down

0 comments on commit 20a1b86

Please sign in to comment.