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
Describe the issue
In #6927 , a fix for partial S3 backend configurations was introduced, but it only works when the backend block is completely empty, requiring a full external backend configuration to make the check succeed.
If all required options are specified, it is reasonable to assume they form the whole configuration or a working default set. If any of them are missing, they are guaranteed to require an external backend config.
Examples
Please share an example code sample (in the IaC of your choice) + the expected outcomes.
Describe the issue
In #6927 , a fix for partial S3 backend configurations was introduced, but it only works when the backend block is completely empty, requiring a full external backend configuration to make the check succeed.
Since only some configuration options are actually mandatory, it would make sense to base the decision if the check should be executed (or result set to UNKNOWN) only on the required options, as described in https://developer.hashicorp.com/terraform/language/backend/s3#configuration .
If all required options are specified, it is reasonable to assume they form the whole configuration or a working default set. If any of them are missing, they are guaranteed to require an external backend config.
Examples
Please share an example code sample (in the IaC of your choice) + the expected outcomes.
Version (please complete the following information):
Additional context
These options are required at this time: region, bucket and key.
The text was updated successfully, but these errors were encountered: