-
Notifications
You must be signed in to change notification settings - Fork 1
Description
What happened?
I noticed that anytime I ran pulumi up, the resources all refreshed. This is not a big problem and may even be desired, but it was unexpected.
Example
const iamPolicy = new iampolicy.Module("mypolicy", {
name: "elisabethpolicy",
description: "this is a tester policy to allow viewing an s3 bucket",
policy: JSON.stringify({
Version: "2012-10-17",
Statement: [
{
Action: ["s3:GetBucketTagging"],
Effect: "Allow",
Resource: [
"arn:aws:s3:::selfhosted-elisabeth-policypacks-7a2a672",
"arn:aws:s3:::selfhosted-elisabeth-policypacks-7a2a672/",
],
},
{
Action: ["s3:ListBucket", "s3:ListAllMyBuckets"],
Effect: "Allow",
Resource: "",
},
],
}),
});
const iamUser = new iamuser.Module("myuser", {
name: "elisabethtestuser",
// policy_arns: [iamPolicy.arn],
});
const iamGroup = new iamgroup.Module("mygroup", {
name: "elisabethtestgroup",
custom_group_policy_arns: [iamPolicy.arn],
group_users: [iamUser.iam_user_name],
attach_iam_self_management_policy: false,
});
Output of pulumi about
CLI
Version 3.177.0
Go Version go1.24.4
Go Compiler gc
Plugins
KIND NAME VERSION
language nodejs 3.177.0
resource terraform-module 0.1.6
resource terraform-module 0.1.6
resource terraform-module 0.1.6
resource terraform-module 0.1.6
resource terraform-module 0.1.6
resource terraform-module 0.1.6
Host
OS darwin
Version 15.3.1
Arch arm64
This project is written in nodejs: executable='/opt/homebrew/bin/node' version='v24.1.0'
Current Stack: team-ce/terraform-module-dogfooding/dev
Found no resources associated with team-ce/dev
Found no pending operations associated with team-ce/dev
Backend
Name pulumi.com
URL https://app.pulumi.com/ElisabethLich
User ElisabethLich
Organizations ElisabethLich, team-ce, demo
Token type personal
Dependencies:
NAME VERSION
@types/node 18.19.112
typescript 5.8.3
@pulumi/eksserviceacc 5.58.0
@pulumi/elisabethcustomiam 5.58.0
@pulumi/iamgroupwithpolicies 5.58.0
@pulumi/iampolicy 5.58.0
@pulumi/pulumi 3.177.0
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).
