Enable resource references by default (#6202)
This commit is contained in:
parent
d72b788011
commit
b3d11e1c32
|
@ -24,6 +24,9 @@ CHANGELOG
|
|||
- [CLI] Avoid panic for diffs with invalid property paths.
|
||||
[#6159](https://github.com/pulumi/pulumi/pull/6159)
|
||||
|
||||
- Enable resource reference feature by default.
|
||||
[#6202](https://github.com/pulumi/pulumi/pull/6202)
|
||||
|
||||
## 2.18.1 (2021-01-21)
|
||||
|
||||
- Revert [#6125](https://github.com/pulumi/pulumi/pull/6125) as it caused a which introduced a bug with serializing resource IDs
|
||||
|
|
|
@ -72,11 +72,7 @@ func disableProviderPreview() bool {
|
|||
}
|
||||
|
||||
func disableResourceReferences() bool {
|
||||
// Allow the resource reference feature to be enabled by explicitly setting an env var.
|
||||
if v, ok := os.LookupEnv("PULUMI_ENABLE_RESOURCE_REFERENCES"); ok && cmdutil.IsTruthy(v) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
return cmdutil.IsTruthy(os.Getenv("PULUMI_DISABLE_RESOURCE_REFERENCES"))
|
||||
}
|
||||
|
||||
// skipConfirmations returns whether or not confirmation prompts should
|
||||
|
|
Loading…
Reference in a new issue