https://pulumi.com logo
#typescript
Title
# typescript
b

broad-dog-22463

01/04/2020, 1:48 PM
Oh no!!! Can you open an issue in the repo?
l

limited-rainbow-51650

01/04/2020, 1:59 PM
b

broad-dog-22463

01/04/2020, 2:58 PM
Thanks @limited-rainbow-51650 - I’ll start looking at it when I get home after this flight
🎉 1
w

white-balloon-205

01/04/2020, 3:06 PM
I expect you are hitting this issue: https://github.com/pulumi/pulumi/issues/3657.
b

broad-dog-22463

01/04/2020, 3:25 PM
@limited-rainbow-51650 that looks like what you are hitting
l

limited-rainbow-51650

01/04/2020, 3:42 PM
I guess you are right. I just removed the
import
info from all resources and ran
preview
again. Pulumi gives me this now:
Copy code
Previewing update (production):

     Type                 Name                        Plan     
     pulumi:pulumi:Stack  00-infra-global-production           
 
Resources:
    6 unchanged
I’m puzzled now. On Gitlab, the group is no longer there or inaccessible (404) but Pulumi doesn’t seem to see this.
b

broad-dog-22463

01/04/2020, 3:46 PM
You will need to run Pulumi refresh to update the state I’m guessing
l

limited-rainbow-51650

01/04/2020, 3:48 PM
Copy code
…/Projects/cumundi/00-infra-global  pulumi refresh                                                                                                                     5.21 Dur  16:41:18
Previewing refresh (production):

     Type                             Name                        Plan        Info
     pulumi:pulumi:Stack              00-infra-global-production              1 error
 ~   ├─ gitlab:index:GroupMembership  ringods                     refresh     1 error
 ~   ├─ gitlab:index:Group            cumundi                     refresh     1 error
 ~   ├─ gitlab:index:GroupMembership  maja                        refresh     1 error
 ~   ├─ gitlab:index:GroupMembership  benny                       refresh     1 error
 ~   └─ gitlab:index:Project          infra-00-global             refresh     1 error
 
Diagnostics:
  pulumi:pulumi:Stack (00-infra-global-production):
    error: preview failed
 
  gitlab:index:GroupMembership (ringods):
    error: Preview failed: refreshing urn:pulumi:production::00-infra-global::gitlab:index/groupMembership:GroupMembership::ringods: GET <https://gitlab.com/api/v4/groups/6656354/members/929640>: 404 {message: 404 Group Not Found}
 
  gitlab:index:Group (cumundi):
    error: Preview failed: refreshing urn:pulumi:production::00-infra-global::gitlab:index/group:Group::cumundi: GET <https://gitlab.com/api/v4/groups/6656354>: 404 {message: 404 Group Not Found}
 
  gitlab:index:GroupMembership (maja):
    error: Preview failed: refreshing urn:pulumi:production::00-infra-global::gitlab:index/groupMembership:GroupMembership::maja: GET <https://gitlab.com/api/v4/groups/6656354/members/24364>: 404 {message: 404 Group Not Found}
 
  gitlab:index:GroupMembership (benny):
    error: Preview failed: refreshing urn:pulumi:production::00-infra-global::gitlab:index/groupMembership:GroupMembership::benny: GET <https://gitlab.com/api/v4/groups/6656354/members/5062024>: 404 {message: 404 Group Not Found}
 
  gitlab:index:Project (infra-00-global):
    error: Preview failed: refreshing urn:pulumi:production::00-infra-global::gitlab:index/project:Project::infra-00-global: GET <https://gitlab.com/api/v4/projects/16151185>: 404 {message: 404 Project Not Found}
 
Time: 0h:00m:04s                                                                                                                                                                              

 …/Projects/cumundi/00-infra-global  pulumi preview                                                                                                                 ✘  3.24 Dur  16:47:36
Previewing update (production):

     Type                 Name                        Plan     
     pulumi:pulumi:Stack  00-infra-global-production           
 
Resources:
    6 unchanged

Permalink: <https://app.pulumi.com/cumundi/00-infra-global/production/previews/844a20be-82dc-484b-bb68-9ce1dd426514>
Time: 0h:00m:05s
b

broad-dog-22463

01/04/2020, 6:37 PM
Ok that’s a problem in the upstream provider that needs patched
l

limited-rainbow-51650

01/05/2020, 10:17 AM
@broad-dog-22463 to prevent confusion, will you track/report the upstream problem?
b

broad-dog-22463

01/05/2020, 10:24 AM
Yessir
@limited-rainbow-51650 just finishing a PR that fixes the upstream provider
🚀 1
l

limited-rainbow-51650

01/05/2020, 1:25 PM
Let me clap my hands, just like people on a landed airplane. 😂
🤣 1
b

broad-dog-22463

01/05/2020, 1:25 PM
LOL
that fixes the issue
l

limited-rainbow-51650

01/05/2020, 6:30 PM
@broad-dog-22463 have you seen the comment in your TF provider PR? I have a pending support ticket with Gitlab to check whether my group is deleted or whether I only lost access to it. Will keep you posted.
b

broad-dog-22463

01/05/2020, 6:33 PM
Yeah I don’t believe this to be correct from gitlab
A 404 shouldnt denote not having access to a project