sparse-intern-71089
07/22/2021, 3:00 PMbumpy-grass-54508
07/22/2021, 3:24 PMbumpy-grass-54508
07/22/2021, 3:29 PMInstanceArgs class, SourceDestCheck is of type Input<bool>? meaning nullable, and is not initialized to any value so will default to null
https://github.com/pulumi/pulumi-aws/blob/master/sdk/dotnet/Ec2/Instance.cs#L676
so even though the docs say "default is true", setting the value to true is different than leaving it untouchedbroad-hairdresser-1495
07/22/2021, 3:38 PMaws.ec2.Instance(..)
https://www.pulumi.com/docs/reference/pkg/aws/ec2/instance/#source_dest_check_python
also this parameter works perfect when used in aws.ec2.NetworkInterface(source_dest_check=False)bumpy-grass-54508
07/22/2021, 3:57 PMbumpy-grass-54508
07/22/2021, 3:57 PMtrue or false or Nonebroad-hairdresser-1495
07/22/2021, 4:01 PMaws.ec2.Instance(..) parameter source_dest_check= is not working (or working automagically)
and then when using aws.ec2.NetworkInterface(source_dest_check=<False or True>) this parameter will inherit into Instance source_dest_check= when not using this parameter...broad-hairdresser-1495
07/22/2021, 4:03 PMNonebumpy-grass-54508
07/22/2021, 4:26 PMNone and will default to None, but then later on depending on other conditions the actual "default" value will come into play