Skip to content

Commit

Permalink
Add exported function description
Browse files Browse the repository at this point in the history
  • Loading branch information
therealmitchconnors committed Nov 29, 2023
1 parent c40331d commit 1f75c6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/terraform/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ type FileProducer struct {
features *feature.Flags
}

// BuildMainTF produces the contents of the mainTF file as a map. This format is conducive to
// inspection for tests. WriteMainTF calls this function an serializes the result to a file as JSON.
func (fp *FileProducer) BuildMainTF() map[string]any {
// If the resource is in a deletion process, we need to remove the deletion
// protection.
Expand Down

0 comments on commit 1f75c6f

Please sign in to comment.