We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 248234a + 919b4f1 commit 78be6b8Copy full SHA for 78be6b8
1 file changed
sops/data_sops_file.go
@@ -53,7 +53,7 @@ func dataSourceFileRead(d *schema.ResourceData, meta interface{}) error {
53
switch ext := path.Ext(sourceFile); ext {
54
case ".json":
55
format = "json"
56
- case ".yaml":
+ case ".yaml", ".yml":
57
format = "yaml"
58
default:
59
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