Skip to content

Commit

Permalink
Update connection_config.go to include optional tags on regions con…
Browse files Browse the repository at this point in the history
…fig argument
  • Loading branch information
misraved authored Dec 12, 2023
1 parent 5395ada commit 54dc60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alicloud/connection_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
)

type alicloudConfig struct {
Regions []string `hcl:"regions"`
Regions []string `hcl:"regions,optional"`
AccessKey *string `hcl:"access_key"`
SecretKey *string `hcl:"secret_key"`
IgnoreErrorCodes []string `hcl:"ignore_error_codes,optional"`
Expand Down

0 comments on commit 54dc60a

Please sign in to comment.