diff --git a/pkg/terraform/files.go b/pkg/terraform/files.go index c769f62c..c429c6cb 100644 --- a/pkg/terraform/files.go +++ b/pkg/terraform/files.go @@ -173,7 +173,7 @@ func (fp *FileProducer) BuildMainTF() map[string]any { // WriteMainTF writes the content main configuration file that has the desired // state configuration for Terraform. -func (fp *FileProducer) WriteMainTF() error { +func (fp *FileProducer) WriteMainTF() (ProviderHandle, error) { m := fp.BuildMainTF() rawMainTF, err := json.JSParser.Marshal(m) if err != nil {