microscopic-florist-22719
pulumi refresh
followed by pulumi up
?microscopic-florist-22719
early-musician-41645
11/08/2018, 8:05 PMrefresh
is updating a resources that I've since deleted and is no longer in the codeearly-musician-41645
11/08/2018, 8:06 PMNo resources will be modified as part of this refresh; just your stack's state will be. yes
Refreshing (mustang-aws-iam-sandbox):
Type Name Status
pulumi:pulumi:Stack mustang-aws-iam-mustang-aws-iam-sandbox
ββ aws:iam:Policy mustang-sandbox-dev
ββ aws:iam:Group mustang-sandbox
ββ aws:iam:PolicyAttachment mustang-sandbox-policy-attachment
ββ aws:iam:GroupMembership mustang-sandbox-dev-group-members
ββ aws:iam:PolicyAttachment mustang-sandbox-dev-attachment
there is only one PolicyAttachment, when I try to delete it one will succeed the other will failearly-musician-41645
11/08/2018, 8:06 PMmicroscopic-florist-22719
-dev-attachment
should show up as a delete
in the refresh
early-musician-41645
11/08/2018, 8:08 PMmicroscopic-florist-22719
early-musician-41645
11/08/2018, 8:08 PM]$ pulumi refresh
Previewing refresh (mustang-aws-iam-sandbox):
Type Name Plan
pulumi:pulumi:Stack mustang-aws-iam-mustang-aws-iam-sandbox
ββ aws:iam:Group mustang-sandbox
ββ aws:iam:GroupMembership mustang-sandbox-dev-group-members
ββ aws:iam:PolicyAttachment mustang-sandbox-policy-attachment
ββ aws:iam:PolicyAttachment mustang-sandbox-dev-attachment
ββ aws:iam:Policy mustang-sandbox-dev
Resources:
0 changes
6 unchanged
Do you want to perform this refresh?
No resources will be modified as part of this refresh; just your stack's state will be. yes
Refreshing (mustang-aws-iam-sandbox):
Type Name Status
pulumi:pulumi:Stack mustang-aws-iam-mustang-aws-iam-sandbox
ββ aws:iam:Policy mustang-sandbox-dev
ββ aws:iam:GroupMembership mustang-sandbox-dev-group-members
ββ aws:iam:Group mustang-sandbox
ββ aws:iam:PolicyAttachment mustang-sandbox-policy-attachment
ββ aws:iam:PolicyAttachment mustang-sandbox-dev-attachment
Resources:
0 changes
6 unchanged
Duration: 1.561901228s
Permalink: <https://app.pulumi.com/eshamay/mustang-aws-iam-sandbox/updates/19>
early-musician-41645
11/08/2018, 8:09 PMstack export
and modify it before an import
?microscopic-florist-22719
incalculable-sundown-82514
11/08/2018, 8:11 PMpulumi state delete
command that takes a URN as an argument and deletes it wholesale from your checkpoint.early-musician-41645
11/08/2018, 8:11 PMincalculable-sundown-82514
11/08/2018, 8:12 PMpulumi stack -u
to get a list of all resources in your stack plus their URNs, too.early-musician-41645
11/08/2018, 8:21 PMearly-musician-41645
11/08/2018, 10:31 PMconfig:
aws:region: us-west-2
tas:domain: sandbox
tas:universe: dev
tas:environment: online_mustang
tas:configuration-bucket: sdp-sandbox-configuration
service:backgrounder: "backgrounder,near.18.1107.1740-master-392912,pod-settings-1597742"
service:dataserver: "dataserver,near.18.1107.1740-master-392912,pod-settings-1597742"
services = new pulumi.Config("service");
I want to loop over backgrounder
and dataserver
keys, or have an iterator for key-values in the services
early-musician-41645
11/08/2018, 10:33 PMstocky-spoon-28903
11/08/2018, 10:34 PMruntime.allConfig()
salmon-father-71224
11/09/2018, 2:40 PMsparse-insurance-40223
11/09/2018, 4:53 PMsparse-action-84781
11/09/2018, 4:57 PMsparse-insurance-40223
11/09/2018, 4:59 PMhundreds-musician-51496
11/09/2018, 7:37 PMnew aws.elasticloadbalancingv2.LoadBalancer(...)
) will it be recognized as a resource to be tracked? If not, how do I transform it such that it will be tracked?hundreds-musician-51496
11/09/2018, 9:08 PMTask
class works for me as AFAICT it wants to create a clusterhundreds-musician-51496
11/09/2018, 9:27 PMhundreds-musician-51496
11/09/2018, 9:27 PMcloud:ecsClusterARN
valueelegant-planet-7298
11/10/2018, 1:17 AMhundreds-musician-51496
11/10/2018, 1:18 AMrefresh
?elegant-planet-7298
11/10/2018, 1:22 AMhundreds-musician-51496
11/10/2018, 1:22 AM