add Close method to the terraform provider

Close is now part of the plugin interfaces, so needs to be implemented
by the terraform provider.
This commit is contained in:
James Bardin 2018-08-15 13:23:12 -04:00 committed by Martin Atkins
parent c39e9e107f
commit faa46d4727
1 changed files with 5 additions and 0 deletions

View File

@ -122,3 +122,8 @@ func (p *Provider) ValidateResourceTypeConfig(providers.ValidateResourceTypeConf
var res providers.ValidateResourceTypeConfigResponse
return res
}
// Close is a noop for this provider, since it's run in-process.
func (p *Provider) Close() error {
return nil
}