Within a `componentResource`, is it possible to `i...
# aws
b
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
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
Its a slight pain, ended up having to recreate
awsx.ec2.Vpc
just to add routes for VPC Peering
l
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 🙂
🤦