// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package config

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func GetFavoritePlants(ctx *pulumi.Context) string {
	return config.Get(ctx, "configstation:favoritePlants")
}

// omg my favorite sandwich
func GetFavoriteSandwich(ctx *pulumi.Context) string {
	return config.Get(ctx, "configstation:favoriteSandwich")
}
func GetIsMember(ctx *pulumi.Context) bool {
	v, err := config.TryBool(ctx, "configstation:isMember")
	if err == nil {
		return v
	}
	return true
}
func GetKids(ctx *pulumi.Context) string {
	return config.Get(ctx, "configstation:kids")
}
func GetName(ctx *pulumi.Context) string {
	return config.Get(ctx, "configstation:name")
}
func GetNumberOfSheep(ctx *pulumi.Context) int {
	return config.GetInt(ctx, "configstation:numberOfSheep")
}

// This is a huge secret
func GetSecretCode(ctx *pulumi.Context) string {
	v, err := config.Try(ctx, "configstation:secretCode")
	if err == nil {
		return v
	}
	return getEnvOrDefault("", nil, "SECRET_CODE", "MY_SUPER_SECRET_CODE").(string)
}
