From 54dc60ac99fd24fefc92727b852f99ae10488699 Mon Sep 17 00:00:00 2001 From: Ved misra <47312748+misraved@users.noreply.github.com> Date: Wed, 13 Dec 2023 03:35:18 +0530 Subject: [PATCH] Update connection_config.go to include optional tags on `regions` config argument --- alicloud/connection_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alicloud/connection_config.go b/alicloud/connection_config.go index b47710f..188cf37 100644 --- a/alicloud/connection_config.go +++ b/alicloud/connection_config.go @@ -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"`