terraform-provider-google icon indicating copy to clipboard operation
terraform-provider-google copied to clipboard

Check if `ga`-only logic can be removed from `iam_test_file.go.erb` file

Open SarahFrench opened this issue 3 years ago • 0 comments

In Magic Modules' mmv1/templates/terraform/examples/base_configs/iam_test_file.go.erb file there's ga-only logic around import steps of acceptance tests and also around this code

<% unless object.min_version.name == "ga" -%>
		Providers:    testAccProvidersOiCS,
<% else -%>
		Providers:    testAccProviders,
<% end -%>

I think this can be removed as it originated a few years ago. This topic came up in another PR of mine (where I touched files for IAM test generation), but I think removing this logic is good to keep in a separate PR. Making this issue to keep track of this task

SarahFrench avatar Sep 20 '22 19:09 SarahFrench