diff --git a/pkg/iac/terraform/state/backend/s3_reader.go b/pkg/iac/terraform/state/backend/s3_reader.go index 71032bec2..e71276fb2 100644 --- a/pkg/iac/terraform/state/backend/s3_reader.go +++ b/pkg/iac/terraform/state/backend/s3_reader.go @@ -20,6 +20,7 @@ type S3Backend struct { } func NewS3Reader(path string) (*S3Backend, error) { + backend := S3Backend{} bucketPath := strings.Split(path, "/") if len(bucketPath) < 2 {