I'm getting this error declare: -A: invalid option while declaring the following map
declare -A ApiResourcePath_LambdaFunc_Map=( \
[signup]="CreateUser" \
[verify-user]="VerifyUser" \
[login]="Login" \
[change-password]="ChangePassword" \
[forgot-password]="LostPassword" \
[reset-password]="ResetPassword" \
[refresh-token]="RefreshToken" \
)
I didn't find any syntax error here. Why I am getting this error ?