398878de31
- Define `null` in Pulumi HCL2 - Bind Pulumi HCL2 in topological order s.t. variable types can be properly computed - Fix resources that range over bools and numbers - Add element, length, lookup, readFile, and split functions - Do not rewrite function signatures with input types during binding - Fix splat expression binding for non-lists - Add support for evaluating expressions - Add support for operator precedence to code generators - Add support for constants to the HCL2 IR - Add support for generating ranged resources in Python - Add support for generating conditional resource in Node and Python - Fix various naming issues in Python
28 lines
1 KiB
Go
28 lines
1 KiB
Go
// Copyright 2016-2020, Pulumi Corporation.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
package hcl2
|
|
|
|
import (
|
|
"github.com/pulumi/pulumi/pkg/v2/codegen/hcl2/model"
|
|
)
|
|
|
|
var (
|
|
// ArchiveType represents the set of Pulumi Archive values.
|
|
ArchiveType model.Type = model.MustNewOpaqueType("Archive")
|
|
// AssetType represents the set of Pulumi Asset values.
|
|
AssetType model.Type = model.MustNewOpaqueType("Asset")
|
|
// ResourcePropertyType represents a resource property reference.
|
|
ResourcePropertyType model.Type = model.MustNewOpaqueType("Property")
|
|
)
|