mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-07 09:36:44 +00:00
![Riley Karson](/assets/img/avatar_default.png)
We aren't ready to release a `0.12` SDK based build because of these issues: • https://github.com/hashicorp/terraform/issues/20505 • https://github.com/hashicorp/terraform/issues/20507 • https://github.com/hashicorp/terraform/issues/20506 • https://github.com/hashicorp/terraform/issues/20504
14 lines
195 B
Go
14 lines
195 B
Go
package getter
|
|
|
|
import (
|
|
"io/ioutil"
|
|
)
|
|
|
|
func tmpFile(dir, pattern string) (string, error) {
|
|
f, err := ioutil.TempFile(dir, pattern)
|
|
if err != nil {
|
|
return "", err
|
|
}
|
|
return f.Name(), nil
|
|
}
|