Skip to content

Commit 7e34db5

Browse files
authored
fix tgc imports (#15595)
1 parent 73b6882 commit 7e34db5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

mmv1/templates/tgc_next/cai2hcl/resource_converter.go.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package {{ lower $.ProductMetadata.Name }}
1919
import (
2020
"fmt"
2121
"reflect"
22+
"regexp"
2223
"strings"
2324

2425
{{/* We list all the v2 imports here and unstable imports, because we run 'goimports' to guess the correct

mmv1/templates/tgc_next/tfplan2cai/resource_converter.go.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package {{ lower $.ProductMetadata.Name }}
1818

1919
import (
20+
"encoding/base64"
2021
"fmt"
2122
"log"
2223
"reflect"
@@ -46,6 +47,7 @@ import (
4647
)
4748

4849
var (
50+
_ = base64.StdEncoding
4951
_ = fmt.Sprintf
5052
_ = log.Print
5153
_ = reflect.ValueOf

0 commit comments

Comments
 (0)