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

Systematic diff in Elastic Beanstalk settings #1073

Closed
odusseys opened this issue Aug 13, 2020 · 4 comments
Closed

Systematic diff in Elastic Beanstalk settings #1073

odusseys opened this issue Aug 13, 2020 · 4 comments
Labels
kind/bug Some behavior is incorrect or out of spec resolution/duplicate This issue is a duplicate of another issue

Comments

@odusseys
Copy link

Running pulumi up with the same Elastic Beanstalk Environment settings twice will (almost) invariably lead to a diff being show when there is none.

Expected Behavior

There should be no diff and the Environment should not be updated.

Current Behavior

  • The order of settings is randomly queried by pulumi and generates a diff if it is different from what pulumi finds in the declaration.
  • the resource field of each setting, if left undefined in the declaration, is compared to an empty string when queried by pulumi.

image

Steps to Reproduce

  1. Declare an aws.elasticbeanstalk.Environment with several settings (eg. a few environment variables)
  2. Run pulumi up twice
@stack72
Copy link
Contributor

stack72 commented Aug 13, 2020

Hi @odusseys

Just to get a little more flavour here - please can you tell me what version of Pulumi and Pulumi-aws you are using?

Thanks

Paul

@odusseys
Copy link
Author

odusseys commented Aug 13, 2020

"@pulumi/aws": "^2.0.0",
"@pulumi/awsx": "^0.20.0",
"@pulumi/pulumi": "^2.0.0"

I installed the CLI & initialized the project yesterday btw

Edit: I also tried with the latest version of these packages, as the CLI does not initialize the project with them (could be considered an issue in itself btw), same problem :

"@pulumi/aws": "^3.1.0",
"@pulumi/awsx": "^0.21.0",
"@pulumi/pulumi": "^2.8.2",

@stack72 stack72 transferred this issue from pulumi/pulumi Aug 13, 2020
@ffMathy
Copy link

ffMathy commented May 25, 2021

This happens to me too. There is a previous issue #920 that was closed prematurely regarding this problem 🙁

@lukehoban lukehoban added kind/bug Some behavior is incorrect or out of spec resolution/duplicate This issue is a duplicate of another issue labels Dec 24, 2022
@lukehoban
Copy link
Contributor

There isn't a repro here to validate against, but I am fairly confident this is ultimately one of the three issues noted in #920 (comment), so closing as a duplicate of those.

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/duplicate This issue is a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants