initial commit
This commit is contained in:
17
sdk/go/xyz/config/config.go
generated
Normal file
17
sdk/go/xyz/config/config.go
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
|
||||
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/pulumi/pulumi-xyz/sdk/go/xyz/internal"
|
||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
|
||||
)
|
||||
|
||||
var _ = internal.GetEnvOrDefault
|
||||
|
||||
// A region which should be used.
|
||||
func GetRegion(ctx *pulumi.Context) string {
|
||||
return config.Get(ctx, "xyz:region")
|
||||
}
|
||||
Reference in New Issue
Block a user