Hi o/ How could I bypass Pulumi validation for som...
# general
c
Hi o/ How could I bypass Pulumi validation for some values? E.g. I'm trying to use Java17 as a lambda runtime and I'm having
Copy code
... expected runtime to be one of [nodejs nodejs4.3 nodejs6.1 ...
I get that AWS just recently introduced it, but is there a way of me saying "Look, before you apply it, trust me and set this property to this value, don't validate, I know what I'm doing". Would
transformations
be the answer here? I'm aware of the existence of AWS native, but I'm looking for something more general that I can use as an escape hatch when needed.
v
I think that message comes from the AWS api. Are you running the latest version of aws provider? If so, I think you might have to wait until they release a version of the aws provider with the latest apis
c
Got it, yeah, I'm using the latest version o/ I guess by changing it manually after it's created with the ignoreChanges custom resource option seems to make Pulumi okay with it (as long as I don't use the refresh option, otherwise it will complain again).
Thanks o/
v
Yeah, not ideal but might have to do that for now!