Skip to content

Commit

Permalink
port is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ValyaB committed Mar 22, 2024
1 parent 62cc588 commit e2cdfce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions castai/resource_node_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,10 @@ func resourceNodeConfiguration() *schema.Resource {
Description: "AWS target group ARN for CAST provisioned nodes",
},
"port": {
Type: schema.TypeInt,
Required: true,
Description: "Port for AWS target group for CAST provisioned nodes",
Type: schema.TypeInt,
Optional: true,
Description: "Port for AWS target group for CAST provisioned nodes",
ValidateDiagFunc: validation.ToDiagFunc(validation.IntBetween(1, 65535)),
},
},
},
Expand Down

0 comments on commit e2cdfce

Please sign in to comment.