https://pulumi.com logo
#general
Title
# general
p

proud-umbrella-2459

07/27/2023, 9:49 PM
Hi I'm trying to use ResourceLfTags , but I have a strange behavior when I run it for the first time it works well but when I run it again it just removes all existing tags for the table and doesn't add any more, just ignore. It looks like that
Copy code
const databaseLFTags = new aws.lakeformation.ResourceLfTags("databaseLfTags", {
            database: { name: databaseName },
            lfTags: lfTags
        }, { parent: this });
lfTags always the same something like that [{key: "foo", value: "123"}] It looks like bug.....
s

stocky-restaurant-98004

07/28/2023, 3:11 PM
If you run the same Pulumi program twice, and LakeFormation itself doesn't do any weird stuff to the generated tags after deployment, that is probably a bug and you should report it here: https://github.com/pulumi/pulumi-aws/issues You may be able to use
ignoreChanges
to work around the error for the time being: https://www.pulumi.com/docs/concepts/options/ignorechanges/
p

proud-umbrella-2459

07/30/2023, 6:27 PM
Thanks! I came to the same conclusion and use already ignoreChanges. I will create issue.