mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-01 16:21:06 +00:00
Represent all GCS Bucket locations as uppercase.
This commit is contained in:
parent
33ae780cc5
commit
1b14b27468
@ -11,6 +11,7 @@ import (
|
||||
|
||||
"google.golang.org/api/googleapi"
|
||||
"google.golang.org/api/storage/v1"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func resourceStorageBucket() *schema.Resource {
|
||||
@ -41,6 +42,9 @@ func resourceStorageBucket() *schema.Resource {
|
||||
Default: "US",
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
StateFunc: func(l interface{}) string {
|
||||
return strings.ToUpper(l.(string))
|
||||
},
|
||||
},
|
||||
|
||||
"predefined_acl": &schema.Schema{
|
||||
|
Loading…
Reference in New Issue
Block a user