sparse-intern-71089
08/19/2019, 10:23 AMrhythmic-finland-36256
08/19/2019, 10:25 AMrhythmic-finland-36256
08/19/2019, 10:25 AMType Name Plan Info
pulumi:pulumi:Stack azure-infra-eval-dev
~ ├─ azure:core:ResourceGroup pulumi-azure-eval update [diff: ~tags]
+- └─ azure:storage:Account teststorage replace [diff: ~resourceGroupName]best-xylophone-83824
08/19/2019, 10:26 AM--diff arg is helpful to see exact changesrhythmic-finland-36256
08/19/2019, 10:27 AM~ resourceGroupName: "pulumi-azure-evalf9c2b004" => output<string>rhythmic-finland-36256
08/19/2019, 10:28 AMresourceGroupName changed (which won’t change just because of the additional tags)rhythmic-finland-36256
08/19/2019, 10:29 AMrhythmic-finland-36256
08/19/2019, 10:30 AMDo you want to perform this update? yes
Updating (dev):
Type Name Status Info
pulumi:pulumi:Stack azure-infra-eval-dev
~ └─ azure:core:ResourceGroup pulumi-azure-eval updated [diff: ~tags]rhythmic-finland-36256
08/19/2019, 10:32 AMpulumi preview --diff also lists it as a replacement due to the “new” resourceGroupName.rhythmic-finland-36256
08/19/2019, 10:33 AM~ resourceGroupName: "pulumi-azure-evalf9c2b004" => output<string>best-xylophone-83824
08/19/2019, 10:35 AMbest-xylophone-83824
08/19/2019, 10:36 AMrhythmic-finland-36256
08/19/2019, 10:37 AMrhythmic-finland-36256
08/19/2019, 10:38 AMstorageAccount does not live under the resource group itself but on the same level. If I’m right, indentation hierarchy only applies if things are a sub-resource from a component-kind-of-view, right?rhythmic-finland-36256
08/19/2019, 10:40 AMstorageAccount to the resourceGroup by referencing the `resourceGroup`’s name as property of the storageAccount like so:
resourceGroupName: resourceGroup.name,best-xylophone-83824
08/19/2019, 10:40 AMrhythmic-finland-36256
08/19/2019, 10:41 AMresourceGroup is updated in place and the storageAccount doesn’t change at all as its resourceGroup reference is still the same as before.rhythmic-finland-36256
08/19/2019, 10:42 AMbest-xylophone-83824
08/19/2019, 10:42 AMbest-xylophone-83824
08/19/2019, 10:43 AMbest-xylophone-83824
08/19/2019, 10:43 AMrhythmic-finland-36256
08/19/2019, 10:58 AMpulumi/pulumi-azure repo shows that most of that is generated using the terraform bridge tool. 🤔best-xylophone-83824
08/19/2019, 11:05 AMWhen constructing a resource that has one or more secret inputs for a property, the entire corresponding output property of the resource is marked as a secret as well.(from https://www.pulumi.com/blog/managing-secrets-with-pulumi/) , so it matches the behavior you see, as in it don't know which outputs depends on which inputs
rhythmic-finland-36256
08/19/2019, 12:43 PMresourceGroup. There is no secret input to the resource and the name should also not be marked as a secret as it is the public given name of the resource.best-xylophone-83824
08/19/2019, 12:49 PM