Skip to content

Commit

Permalink
Add exported function description
Browse files Browse the repository at this point in the history
Signed-off-by: Mitch Connors <[email protected]>
  • Loading branch information
therealmitchconnors committed Dec 7, 2023
1 parent c40331d commit 25a4aa5
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 25a4aa5

Please sign in to comment.