Skip to content

Commit

Permalink
Change firewall ID to be a required field
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr committed Jun 21, 2024
1 parent b13b827 commit a139426
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions civo/instances/resource_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ func ResourceInstance() *schema.Resource {
Description: "The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)",
},
"firewall_id": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)",
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringIsNotEmpty,
Description: "The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)",
},
"tags": {
Type: schema.TypeSet,
Expand Down

0 comments on commit a139426

Please sign in to comment.