Skip to content

Commit

Permalink
fix(cloudfunctions): switch to the new required api
Browse files Browse the repository at this point in the history
Signed-off-by: trampfox <trampfox@gmail.com>
  • Loading branch information
trampfox committed Jul 16, 2024
1 parent e4edfbc commit 34ea968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/cloudfunctions/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func Configure(p *config.Provider) {
Schema["build_environment_variables"].Elem = schema.TypeString
r.TerraformResource.
Schema["environment_variables"].Elem = schema.TypeString
config.MarkAsRequired(r.TerraformResource, "region")
r.MarkAsRequired("region")
})

p.AddResourceConfigurator("google_cloudfunctions_function_iam_binding", func(r *config.Resource) {
Expand Down

0 comments on commit 34ea968

Please sign in to comment.