@here I'm hoping to work around a Terraform bug by...
# general
i
@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
I think the
--refresh
option is what you need here
i
Unfortunately, I'm looking for a code option. But I will look at refresh.
b
Sorry, perhaps I misunderstood. Is your resource already defined in Pulumi?
i
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.