You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might have been intention to get rid of empty strings, but then it's necessary to also make both access_key & secret_key optional. It is now required, which means that there's no way to reach the default function.
Either way this should be definitely mentioned in Changelog in BACKWARDS INCOMPATIBILITIES since it will IMO have impact on many users.
This is because you did specify credentials, blank ones. Even if a field is Required, it will be set if the DefaultFunc returns a value. But the DefaultFunc is only checked if you didn't specify a value. Empty is not equal to the absense of a value in Terraform.
Just delete the access_key and secret_key lines.
I'll note this in the CHANGELOG, because I think people would set these to empty before to actually workaround the fact that you'd have to set them to get them otherwise.
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.
ghost
locked and limited conversation to collaborators
May 1, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Due to #1841 it's not possible to do any credentials autoloading now.
The following code:
ends up in error:
It might have been intention to get rid of empty strings, but then it's necessary to also make both
access_key
&secret_key
optional. It is now required, which means that there's no way to reach the default function.Either way this should be definitely mentioned in Changelog in
BACKWARDS INCOMPATIBILITIES
since it will IMO have impact on many users.cc @mitchellh @josharian
The text was updated successfully, but these errors were encountered: