https://pulumi.com logo
#general
Title
# general
s

sparse-intern-71089

02/05/2020, 5:32 AM
This message was deleted.
i

icy-london-58403

02/05/2020, 5:32 AM
first plan
Copy code
Previewing update (corp):

     Type                                             Name                   Plan        Info
     pulumi:pulumi:Stack                              pupster-org-corp        running     general-prod
 +   ├─ pupster:sharedvpc:SharedVPC                   v1                      create
     └─ gcp:organizations:Project                     corp
        └─ gcp:compute:SharedVPCHostProject           corp-v1
           ├─ gcp:organizations:Project               v1-general-uat
 +         │  ├─ gcp:projects:Service                 general-uat-container          create
 +         │  ├─ gcp:compute:SharedVPCServiceProject  general-uat                    create
 +         │  └─ gcp:projects:Service                 general-uat-firestore          create
           ├─ gcp:organizations:Project               v1-general-prod
 +         │  ├─ gcp:compute:SharedVPCServiceProject  general-prod                   create
 +         │  ├─ gcp:projects:Service                 general-prod-container         create
 +         │  ├─ gcp:projects:Service                 general-prod-container         create
 +         │  └─ gcp:projects:Service                 general-prod-firestore            create
 +         │  └─ gcp:projects:Service                 general-prod-firestore            create
 +         │  │  └─ gcp:compute:Network               general-prod-default              create
 +            ├─ gcp:compute:Subnetwork               corp-v1-private-us-west2          create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1     create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1     create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1     create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1     create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1     create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1        create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1         create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1         create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1         create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1         create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1              create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1              create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1              create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1              create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-private-us-west1                    create
 +            ├─ gcp:compute:Subnetwork               corp-v1-public-us-west2                     create
 +            ├─ gcp:compute:Router                   corp-v1-us-west2                            create
 +            │  ├─ gcp:compute:Route                 corp-v1-public-us-west2-internet            create
 +            │  └─ gcp:compute:RouterNat             corp-v1-us-west2                            create
 +            ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west2               create
 +            ├─ gcp:compute:Subnetwork               corp-v1-public-us-west1                     create
 +            └─ gcp:compute:Router                   corp-v1-us-west1                            create
 +               ├─ gcp:compute:Route                 corp-v1-public-us-west1-internet            create
 +               └─ gcp:compute:RouterNat             corp-v1-us-west1                            create
2nd plan
Copy code
Previewing update (corp):

     Type                                             Name                                        Plan        Info
     pulumi:pulumi:Stack                              pupster-org-corp                            running..   general-prod
 +   ├─ pupster:sharedvpc:SharedVPC                   v1                                          create
     └─ gcp:organizations:Project                     corp
        └─ gcp:compute:SharedVPCHostProject           corp-v1
           ├─ gcp:compute:Network                     corp-v1-default
 +         │  ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west2               create
 +         │  ├─ gcp:compute:Router                   corp-v1-us-west2                            create
 +         │  │  ├─ gcp:compute:Route                 corp-v1-public-us-west2-internet            create
 +         │  │  └─ gcp:compute:RouterNat             corp-v1-us-west2                            create
 +         │  ├─ gcp:compute:Router                   corp-v1-us-west1                            create
 +         │  │  ├─ gcp:compute:Route                 corp-v1-public-us-west1-internet            create
 +         │  │  └─ gcp:compute:RouterNat             corp-v1-us-west1                            create
 +         │  ├─ gcp:compute:Subnetwork               corp-v1-public-us-west1                     create
 +         │  ├─ gcp:compute:Subnetwork               corp-v1-private-us-west2                    create
 +         │  ├─ gcp:compute:Subnetwork               corp-v1-presentation-us-west1               create
 +         │  ├─ gcp:compute:Subnetwork               corp-v1-public-us-west2                     create
 +         │  └─ gcp:compute:Subnetwork               corp-v1-private-us-west1                    create
           ├─ gcp:organizations:Project               v1-general-uat
 +         │  ├─ gcp:compute:SharedVPCServiceProject  general-uat                                 create
 +         │  │  └─ gcp:compute:Network               general-uat-default                         create
 +         │  │     ├─ gcp:compute:Subnetwork         general-uat-default-presentation-us-west2   create
 +         │  │     ├─ gcp:compute:Subnetwork         shared-general-uat-us-west2                 create
 +         │  │     ├─ gcp:compute:Subnetwork         general-uat-default-public-us-west1         create
 +         │  │     ├─ gcp:compute:Subnetwork         general-uat-default-public-us-west2         create
 +         │  │     ├─ gcp:compute:Subnetwork         general-uat-default-presentation-us-west1   create
 +         │  │     ├─ gcp:compute:Subnetwork         general-uat-default-private-us-west2        create
 +         │  │     ├─ gcp:compute:Subnetwork         shared-general-uat-us-west1                 create
 +         │  │     ├─ gcp:compute:NetworkPeering     general-uat-default                         create
 +         │  │     ├─ gcp:compute:Router             general-uat-us-west2                        create
 +         │  │     │  ├─ gcp:compute:Route           general-uat-public-us-west2-internet        create
 +         │  │     │  ├─ gcp:compute:RouterNat       general-uat-us-west2-share                  create
 +         │  │     │  └─ gcp:compute:RouterNat       general-uat-us-west2                        create
 +         │  │     ├─ gcp:compute:Subnetwork         general-uat-default-private-us-west1        create
 +         │  │     └─ gcp:compute:Router             general-uat-us-west1                        create
 +         │  │        ├─ gcp:compute:RouterNat       general-uat-us-west1                        create
 +         │  │        ├─ gcp:compute:Route           general-uat-public-us-west1-internet        create
 +         │  │        └─ gcp:compute:RouterNat       general-uat-us-west1-share                  create
 +         │  ├─ gcp:projects:Service                 general-uat-firestore                       create
 +         │  └─ gcp:projects:Service                 general-uat-container                       create
           └─ gcp:organizations:Project               v1-general-prod
 +            ├─ gcp:projects:Service                 general-prod-container                      create
 +            ├─ gcp:projects:Service                 general-prod-firestore                      create
 +            └─ gcp:compute:SharedVPCServiceProject  general-prod                                create
 +               └─ gcp:compute:Network               general-prod-default                        create
 +                  ├─ gcp:compute:Subnetwork         shared-general-prod-us-west1                create
 +                  ├─ gcp:compute:Subnetwork         shared-general-prod-us-west2                create
 +                  ├─ gcp:compute:Router             general-prod-us-west1                       create
 +                  │  ├─ gcp:compute:Route           general-prod-public-us-west1-internet       create
 +                  │  ├─ gcp:compute:RouterNat       general-prod-us-west1-share                 create
 +                  │  └─ gcp:compute:RouterNat       general-prod-us-west1                       create
 +                  ├─ gcp:compute:Subnetwork         general-prod-default-public-us-west2        create
 +                  ├─ gcp:compute:Subnetwork         general-prod-default-presentation-us-west1  create
 +                  ├─ gcp:compute:Subnetwork         general-prod-default-presentation-us-west2  create
 +                  ├─ gcp:compute:Router             general-prod-us-west2                       create
 +                  │  ├─ gcp:compute:Route           general-prod-public-us-west2-internet       create
 +                  │  ├─ gcp:compute:RouterNat       general-prod-us-west2                       create
 +                  │  └─ gcp:compute:RouterNat       general-prod-us-west2-share                 create
 +                  ├─ gcp:compute:Subnetwork         general-prod-default-private-us-west2       create
 +                  ├─ gcp:compute:NetworkPeering     general-prod-default                        create
 +                  ├─ gcp:compute:Subnetwork         general-prod-default-private-us-west1       create
 +                  └─ gcp:compute:Subnetwork         general-prod-default-public-us-west1        create
screenshot shows the 2 files Diffed. The first plan was run. Then immediately, with no changes, the 2nd plan was run. This happens a LOT. I'm worried about when I get to put this in a CI/CD pipeline and I'll have plans that aren't accurate being output on the screen. Any help?
I wonder if this is because I had classes that weren't
pulumi.ComponentResource
. I have updated my code to do components now. I have called register outputs at the end of the constructers too. So far not getting the same problem. But I'm not sure if I'm sure it's solved.