Skip to content

Commit 78be6b8

Browse files
authored
Merge pull request #17 from lazouz/lazouz/support-yml
add .yml file support
2 parents 248234a + 919b4f1 commit 78be6b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sops/data_sops_file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func dataSourceFileRead(d *schema.ResourceData, meta interface{}) error {
5353
switch ext := path.Ext(sourceFile); ext {
5454
case ".json":
5555
format = "json"
56-
case ".yaml":
56+
case ".yaml", ".yml":
5757
format = "yaml"
5858
default:
5959
return fmt.Errorf("Don't know how to decode file with extension %s, set input_type to json, yaml or raw as appropriate", ext)

0 commit comments

Comments
 (0)