Skip to content

Commit

Permalink
remove computed & update docs (#141)
Browse files Browse the repository at this point in the history
* remove computed from acl

* Automated docs update

---------

Co-authored-by: Dean Oren <deangili.oren@mail.schwarz>
Co-authored-by: do87 <do87@users.noreply.github.com>
  • Loading branch information
3 people authored May 22, 2023
1 parent 20a1b86 commit 122e10d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/mongodb_flex_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ resource "stackit_mongodb_flex_instance" "example" {

### Required

- `acl` (List of String) Access Control rules to whitelist IP addresses
- `machine_type` (String) The Machine Type. Available options: `1.1` (1 CPU, 1 Memory), `1.2` (1 CPU, 2 Memory), `1.4` (1 CPU, 4 Memory), `1.8` (1 CPU, 8 Memory), `2.4` (2 CPU, 4 Memory), `2.8` (2 CPU, 8 Memory), `2.16` (2 CPU, 16 Memory), `4.8` (4 CPU, 8 Memory), `4.16` (4 CPU, 16 Memory), `4.32` (4 CPU, 32 Memory), `8.16` (8 CPU, 16 Memory), `8.32` (8 CPU, 32 Memory), `8.64` (8 CPU, 64 Memory), `16.32` (16 CPU, 32 Memory), `16.64` (16 CPU, 64 Memory)
- `name` (String) Specifies the instance name.
- `project_id` (String) The project ID the instance runs in. Changing this value requires the resource to be recreated.

### Optional

- `acl` (List of String) Access Control rules to whitelist IP addresses
- `backup_schedule` (String) Specifies the backup schedule (cron style).
- `labels` (Map of String) Instance Labels
- `replicas` (Number) Number of replicas (Default is `1`).
Expand Down
1 change: 0 additions & 1 deletion stackit/internal/resources/mongodb-flex/instance/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp
Description: "Access Control rules to whitelist IP addresses",
ElementType: types.StringType,
Required: true,
Computed: true,
},
"timeouts": common.Timeouts(ctx, timeouts.Opts{
Create: true,
Expand Down

0 comments on commit 122e10d

Please sign in to comment.