PrepareProviderConfig for terraform provider
This commit is contained in:
parent
a3ac49b3fb
commit
ac5f08c5d8
|
@ -31,10 +31,11 @@ func (p *Provider) GetSchema() providers.GetSchemaResponse {
|
|||
}
|
||||
|
||||
// ValidateProviderConfig is used to validate the configuration values.
|
||||
func (p *Provider) ValidateProviderConfig(providers.ValidateProviderConfigRequest) providers.ValidateProviderConfigResponse {
|
||||
func (p *Provider) PrepareProviderConfig(req providers.PrepareProviderConfigRequest) providers.PrepareProviderConfigResponse {
|
||||
// At this moment there is nothing to configure for the terraform provider,
|
||||
// so we will happily return without taking any action
|
||||
var res providers.ValidateProviderConfigResponse
|
||||
var res providers.PrepareProviderConfigResponse
|
||||
res.PreparedConfig = req.Config
|
||||
return res
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue