-
Notifications
You must be signed in to change notification settings - Fork 156
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
Security group shows change on every run #2947
Comments
@mjaggard Thank you for reporting this issue. I tried some version of this code locally but wasn't able to repro the issue. Could you please provide a self-contained repro, so that I could run it locally? |
Fair point @mikhailshilkov, I think the difficulty is that this likely happened due to previous changes in state and I'm not sure what they all were, although all changes were applied using Pulumi. I've included what I think is the relevant part of the current state JSON below which might help?
|
My assumption is that the issue relates to the contraction of the multiple ingress rules in the input being contracted to a single ingress rule output. I can't fix the input becaues the two ingress rules come from different locations (one is general and one is environment specific) |
@mjaggard The state file is useful but could you also share the other part - the actual code that would be fully runnable? I'm guessing I need the |
What happened?
I am trying to add ingress for multiple source SecurityGroups to a new SecurityGroup which is working but every time I run I get a change shown.
Example
where
extra_ingress
contains (amongst other things)Output of
pulumi about
CLI
Version 3.91.1
Go Version go1.21.3
Go Compiler gc
Plugins
NAME VERSION
aws 6.0.4
aws 5.42.0
aws 5.31.0
awsx 1.0.5
docker 3.6.1
eks 1.0.3
kubernetes 4.1.1
kubernetes 3.30.2
nodejs unknown
random 4.13.2
Host
OS darwin
Version 13.6
Arch x86_64
This project is written in nodejs: version='v20.6.1'
Found no resources associated with transit
Found no pending operations associated with transit
Dependencies:
NAME VERSION
@pulumi/kubernetes 4.1.1
@pulumi/pulumi 3.82.0
@pulumi/random 4.13.2
@types/node 16.18.50
handlebars 4.7.8
@pulumi/aws 6.0.4
@pulumi/awsx 1.0.5
@pulumi/eks 1.0.3
Additional context
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).
The text was updated successfully, but these errors were encountered: