Skip to content

Commit

Permalink
Remove encoder, can be done as send_empty_value on autoCreateSubnetwo…
Browse files Browse the repository at this point in the history
…rks (#2559)
  • Loading branch information
slevenick authored and rileykarson committed Nov 6, 2019
1 parent 5d5ec5e commit 26895c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion products/compute/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
exclude: true
autoCreateSubnetworks: !ruby/object:Overrides::Terraform::PropertyOverride
default_value: True
send_empty_value: true
# autoCreateSubnetworks defaults to true, so we need to disable it explicitly
conflicts: []
routingConfig: !ruby/object:Overrides::Terraform::PropertyOverride
Expand All @@ -935,7 +936,6 @@ overrides: !ruby/object:Overrides::ResourceOverrides
default_from_api: true
custom_code: !ruby/object:Provider::Terraform::CustomCode
post_create: templates/terraform/post_create/compute_network_delete_default_route.erb
encoder: templates/terraform/encoders/network.erb
extra_schema_entry: templates/terraform/extra_schema_entry/network.erb
NetworkEndpoint: !ruby/object:Overrides::Terraform::ResourceOverride
id_format: "{{project}}/{{zone}}/{{network_endpoint_group}}/{{instance}}/{{ip_address}}/{{port}}"
Expand Down
3 changes: 0 additions & 3 deletions templates/terraform/encoders/network.erb

This file was deleted.

0 comments on commit 26895c9

Please sign in to comment.