Skip to content

Commit

Permalink
Also remove iam_compute_subnetwork.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson committed Nov 5, 2018
1 parent 142d0c5 commit cefa885
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions provider/terraform/utils/iam_compute_subnetwork.go.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<% autogen_exception -%>
package google
<% unless version.nil? || version == 'ga' -%>

import (
"fmt"
Expand All @@ -13,28 +14,19 @@ import (

var IamComputeSubnetworkSchema = map[string]*schema.Schema{
"subnetwork": {
<% if version.nil? || version == 'ga' -%>
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider_versions.html for more details.",
<% end -%>
Type: schema.TypeString,
Required: true,
ForceNew: true,
},

"project": {
<% if version.nil? || version == 'ga' -%>
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider_versions.html for more details.",
<% end -%>
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
},

"region": {
<% if version.nil? || version == 'ga' -%>
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider_versions.html for more details.",
<% end -%>
Type: schema.TypeString,
Optional: true,
Computed: true,
Expand Down Expand Up @@ -172,3 +164,6 @@ func computeBetaToResourceManagerPolicy(p *computeBeta.Policy) (*cloudresourcema
}
return out, nil
}
<% else %>
// Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now.
<% end -%>

0 comments on commit cefa885

Please sign in to comment.