29c2a2e08f
Every single resource has a type prefix of pulumi:pulumi:Stack$ which makes URNs quite lengthy without adding any value. Since they all have this prefix, adding it doesn't help to disambiguate. This change skips adding the parent URN part when it is the built-in automatic stack type name.
11 lines
296 B
Go
11 lines
296 B
Go
// Copyright 2016-2017, Pulumi Corporation. All rights reserved.
|
|
|
|
package resource
|
|
|
|
import (
|
|
"github.com/pulumi/pulumi/pkg/tokens"
|
|
)
|
|
|
|
// RootStackType is the type name that will be used for the root component in the Pulumi resource tree.
|
|
const RootStackType tokens.Type = "pulumi:pulumi:Stack"
|