Closed tedyu closed 8 months ago
Alias creation fails when the alias with same name exists:
│ Error: Alias with name "c" already exists in workspace "qa".
This PR checks the error message and calls UpdateAlias in this case. An option is added for backward compatibility:
UpdateAlias
overwrite = true
This is for https://github.com/rockset/terraform-provider-rockset/issues/100
Alias creation fails when the alias with same name exists:
│ Error: Alias with name "c" already exists in workspace "qa".
This PR checks the error message and calls
UpdateAlias
in this case. An option is added for backward compatibility:This is for https://github.com/rockset/terraform-provider-rockset/issues/100