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

incalculable-engineer-92975

04/06/2020, 1:29 PM
@here I'm hoping to work around a Terraform bug by applying changes a second time. How do I get Pulumi to do that? Specifically, I need to re-apply API Gateway changes because a Terraform bug causes them to be cleared out when they are first applied. IOW, I want to force Pulumi to re-apply changes after the objects are created.
b

billowy-army-68599

04/06/2020, 4:25 PM
I think the
--refresh
option is what you need here
i

incalculable-engineer-92975

04/06/2020, 5:18 PM
Unfortunately, I'm looking for a code option. But I will look at refresh.
b

billowy-army-68599

04/06/2020, 5:24 PM
Sorry, perhaps I misunderstood. Is your resource already defined in Pulumi?
i

incalculable-engineer-92975

04/06/2020, 5:50 PM
Yes, but I don't want to re-run Pulumi. This is being executed in a pipeline. So I want something I can do in a single Pulumi execution.