-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix. Correct how CORS rules are handled. #8096
Fix. Correct how CORS rules are handled. #8096
Conversation
Test is passing:
|
@stack72 this corrects the behaviour, but now I need to also update the test, so that it can actually trigger the path where |
This commit fixes an issue where CORS rules would not be read and thus refreshed correctly should there be a change introduced externally e.g. CORS configuration was edited outside of Terraform. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2915709
to
639e0ad
Compare
Thanks @kwilczynski Really nice spot that we were only setting the data back to state when we actually errored! Also great spot that we had to flatten []string to state as well
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This commit fixes an issue where CORS rules would not be read and thus refreshed
correctly should there be a change introduced externally e.g. CORS configuration
was edited outside of Terraform.
Signed-off-by: Krzysztof Wilczynski krzysztof.wilczynski@linux.com