Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team resource has noisy refresh #278

Closed
IaroslavTitov opened this issue May 15, 2024 · 0 comments · Fixed by #314
Closed

Team resource has noisy refresh #278

IaroslavTitov opened this issue May 15, 2024 · 0 comments · Fixed by #314
Assignees
Labels
kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Milestone

Comments

@IaroslavTitov
Copy link
Contributor

What happened?

I created a Team resource using provider and ran pulumi up. When I then ran pulumi refresh, there was a difference in displayName and members properties, even though I didn't change anything in console.

Example

Here's my code:

    var team = new Pulumi.PulumiService.Team(
        "Rocket",
        new TeamArgs {
            OrganizationName = "service-provider-test-org",
            TeamType = "pulumi",
            Name = "Rocket"
        }
    );

Then ran pulumi up and pulumi refresh

Output of pulumi about

running 'dotnet build -nologo .'
  Determining projects to restore...

  All projects are up-to-date for restore.

  PulumiDotnet -> /home/iaro/PulumiDotnet/bin/Debug/net7.0/PulumiDotnet.dll



Build succeeded.

    0 Warning(s)
    0 Error(s)


Time Elapsed 00:00:01.02

'dotnet build -nologo .' completed successfully
CLI          
Version      3.116.1
Go Version   go1.22.3
Go Compiler  gc

Plugins
KIND      NAME           VERSION
resource  aws            6.36.0
language  dotnet         unknown
resource  pulumiservice  0.20.2-alpha.1715809015+93a65f32.dirty
resource  random         4.16.1

Host     
OS       ubuntu
Version  22.04
Arch     x86_64

This project is written in dotnet: executable='/usr/bin/dotnet' version='8.0.105'

Current Stack: IaroslavTitov/PulumiDotnet/SdkTest4

TYPE                                    URN
pulumi:pulumi:Stack                     urn:pulumi:SdkTest4::PulumiDotnet::pulumi:pulumi:Stack::PulumiDotnet-SdkTest4
pulumi:providers:aws                    urn:pulumi:SdkTest4::PulumiDotnet::pulumi:providers:aws::default_6_36_0
pulumi:providers:pulumiservice          urn:pulumi:SdkTest4::PulumiDotnet::pulumi:providers:pulumiservice::default_0_20_2_alpha_1715809015_93a65f32_dirty
aws:s3/bucket:Bucket                    urn:pulumi:SdkTest4::PulumiDotnet::aws:s3/bucket:Bucket::my-bucket
pulumiservice:index:Team                urn:pulumi:SdkTest4::PulumiDotnet::pulumiservice:index:Team::Rocket
pulumi:providers:random                 urn:pulumi:SdkTest4::PulumiDotnet::pulumi:providers:random::default_4_16_1
random:index/randomString:RandomString  urn:pulumi:SdkTest4::PulumiDotnet::random:index/randomString:RandomString::rand


Found no pending operations associated with SdkTest4

Backend        
Name           https://api.iaro.pulumi-dev.io
URL            https://app.iaro.pulumi-dev.io/IaroslavTitov
User           IaroslavTitov
Organizations  IaroslavTitov, subtest, service-provider-test-org
Token type     personal

Dependencies:
NAME                  VERSION
Pulumi                3.63.1
Pulumi.Aws            6.36.0
Pulumi.PulumiService  0.20.2-alpha.1715809015
Pulumi.Random         4.16.1

Pulumi locates its logs in /tmp by default

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@IaroslavTitov IaroslavTitov added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels May 15, 2024
@cleverguy25 cleverguy25 removed the needs-triage Needs attention from the triage team label May 17, 2024
@cleverguy25 cleverguy25 modified the milestones: 0.104, 0.105 May 17, 2024
@cleverguy25 cleverguy25 modified the milestones: 0.105, 0.106 Jun 5, 2024
@komalali komalali self-assigned this Jun 10, 2024
komalali added a commit that referenced this issue Jun 10, 2024
### Testing

I updated a test. Previously, if you didn't define the team display name
there would be a diff on refresh to add a new output for the display
name. Now there is no diff.

Fixes #278
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants