diff --git a/templates/terraform/iam_policy.go.erb b/templates/terraform/iam_policy.go.erb index 1c33aa79d18d..0e6ff9c8e5e7 100644 --- a/templates/terraform/iam_policy.go.erb +++ b/templates/terraform/iam_policy.go.erb @@ -92,14 +92,6 @@ func <%= resource_name -%>IamUpdaterProducer(d *schema.ResourceData, config *Con for k, v := range m { values[k] = v } -<%# If we didn't find the URL qualifier in the resource short/long name then try to set from config -%> -<% resource_params.each do |param| -%> - if _, found := values["<%= param -%>"]; !found { - if v, ok := d.GetOkExists("<%= param.underscore -%>"); ok { - values["<%= param -%>"] = v.(string) - } - } -<% end -%> u := &<%= resource_name -%>IamUpdater{ <% resource_params.each do |param| -%>