Terraform Plugin SDK enables building plugins (providers) to manage any service providers or custom in-house solutions
Mozilla Public License 2.0
439
stars
232
forks
source link
Modifying values during SchemaSetFunc modifies values provided to provider #157
Open
rileykarson opened 5 years ago
Terraform Version
Terraform Configuration Files
This set func is the cause of the error: https://github.com/terraform-providers/terraform-provider-google-beta/blob/master/google-beta/resource_binary_authorization_policy.go#L133-L149
Debug Output
Expected Behavior
Terraform supplies the real attestor name to the provider
Actual Behavior
Terraform returns the name modified by the set func
Steps to Reproduce
terraform apply
Additional Context
As stated above- see https://github.com/terraform-providers/terraform-provider-google-beta/blob/master/google-beta/resource_binary_authorization_policy.go#L133-L149 for where the Set is modified.
References