File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,7 @@ def test_s3_backend_configs_merge(monkeypatch):
294294 encryption = true
295295 use_path_style = true
296296 acl = "bucket-owner-full-control"
297+ shared_config_files = ["~/.aws/config","~/other/config"]
297298 }
298299 }
299300 resource "aws_s3_bucket" "test-bucket" {
@@ -317,7 +318,9 @@ def check_override_file_backend_extra_content(override_file):
317318
318319 return result .get ("use_path_style" ) is True and \
319320 result .get ("encryption" ) is True and \
320- result .get ("acl" ) == "bucket-owner-full-control"
321+ result .get ("acl" ) == "bucket-owner-full-control" and \
322+ isinstance (result .get ("shared_config_files" ), list ) and \
323+ len (result .get ("shared_config_files" )) == 2
321324
322325
323326@pytest .mark .parametrize ("endpoints" , [
You can’t perform that action at this time.
0 commit comments