mirror of https://github.com/pulumi/pulumi.git
19 lines
378 B
Go
19 lines
378 B
Go
// Copyright 2016-2018, Pulumi Corporation. All rights reserved.
|
|
//go:build !all
|
|
// +build !all
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
|
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
|
|
)
|
|
|
|
func main() {
|
|
pulumi.Run(func(ctx *pulumi.Context) error {
|
|
cfg := config.New(ctx, "config_missing_go")
|
|
cfg.RequireSecret("notFound")
|
|
return nil
|
|
})
|
|
}
|