Oh no!!! Can you open an issue in the repo?
# typescript
b
Oh no!!! Can you open an issue in the repo?
l
b
Thanks @limited-rainbow-51650 - I’ll start looking at it when I get home after this flight
🎉 1
w
I expect you are hitting this issue: https://github.com/pulumi/pulumi/issues/3657.
b
@limited-rainbow-51650 that looks like what you are hitting
l
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
You will need to run Pulumi refresh to update the state I’m guessing
l
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
Ok that’s a problem in the upstream provider that needs patched
l
@broad-dog-22463 to prevent confusion, will you track/report the upstream problem?
b
Yessir
@limited-rainbow-51650 just finishing a PR that fixes the upstream provider
🚀 1
l
Let me clap my hands, just like people on a landed airplane. 😂
🤣 1
b
LOL
that fixes the issue
l
@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
Yeah I don’t believe this to be correct from gitlab
A 404 shouldnt denote not having access to a project