Skip to content

Commit

Permalink
Moved resource conversion template to templates/validator (#5140)
Browse files Browse the repository at this point in the history
This removes a trailing reference to terraform-google-conversion as an 'object library'. Related to GoogleCloudPlatform/terraform-validator#237
  • Loading branch information
melinath authored Aug 27, 2021
1 parent fc548d6 commit e78bd28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmv1/provider/terraform_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def generate_resource(pwd, data, _generate_code, _generate_docs)
target_folder = data.output_folder
product_ns = data.object.__product.name
data.generate(pwd,
'templates/terraform/objectlib/base.go.erb',
'templates/validator/resource_conversion.go.erb',
File.join(target_folder,
"google/#{product_ns.downcase}_#{data.object.name.underscore}.go"),
self)
Expand Down

0 comments on commit e78bd28

Please sign in to comment.