2f22c1c59c
Pulumi HCL2 IR: - Add support for invokes - Add support for resource options, incl. ranged resources - Allow the apply rewriter to ignore promise-typed values - Add tests for the binder - Add support functions for TF: entries and range NodeJS codegen: - Simplify for expression codegen - Add support for invoke codegen - Add support for entries and range functions - Add tests Python codegen: - Implement codegen for most expression types - Add support for invoke codegen - Add tests
14 lines
415 B
Go
14 lines
415 B
Go
package test
|
|
|
|
import (
|
|
"github.com/blang/semver"
|
|
"github.com/pulumi/pulumi/pkg/resource/deploy/deploytest"
|
|
"github.com/pulumi/pulumi/sdk/go/common/resource/plugin"
|
|
)
|
|
|
|
func NewHost(schemaDirectoryPath string) plugin.Host {
|
|
return deploytest.NewPluginHost(nil, nil, nil,
|
|
deploytest.NewProviderLoader("aws", semver.MustParse("1.0.0"), func() (plugin.Provider, error) {
|
|
return AWS(schemaDirectoryPath)
|
|
}))
|
|
}
|