https://pulumi.com logo
Title
b

busy-umbrella-36067

10/05/2020, 4:17 PM
Within a
componentResource
, is it possible to
ignoreChanges
on one of the children? I want to ignore changes on the task definition for an
awsx.ecs.FargateService
I have a feeling I will need to use transformations for this.
l

little-cartoon-10569

10/05/2020, 8:48 PM
Yes, either transformations or make your own
ComponentResource
from the source code. This happens all the time in AWSX code, I use both options depending on amount of code duplicated, convenience factor, re-usability, etc.
b

busy-umbrella-36067

10/06/2020, 2:05 AM
Its a slight pain, ended up having to recreate
awsx.ec2.Vpc
just to add routes for VPC Peering
l

little-cartoon-10569

10/06/2020, 2:13 AM
You don't have to recreate it. You can use one of the get or find methods to load a reference object.
Oh wait, ignore that, conflating this question with another one from a few minutes ago 🙂
🤦