Skip to content

Commit 297ef12

Browse files
committed
set generation to a for non-op setup of identity step
1 parent 248aff7 commit 297ef12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mmv1/templates/terraform/examples/base_configs/test_file.go.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,15 @@ func TestAcc{{ $e.TestSlug $.Res.ProductMetadata.Name $.Res.Name }}(t *testing.T
114114
},
115115
{{- end }}
116116
{{- if eq $i 0 }}
117+
{{- if lt (index $.Res.ProductMetadata.ApiName 0) 'a' }}
118+
117119
{
118120
ResourceName: "{{ $.Res.TerraformName }}.{{ $e.PrimaryResourceId }}",
119121
RefreshState: true,
120122
ExpectNonEmptyPlan: true,
121123
ImportStateKind: resource.ImportBlockWithResourceIdentity,
122124
},
125+
{{- end }}
123126
{{- end }}
124127
},
125128
})

0 commit comments

Comments
 (0)