mysterious-area-77666
03/10/2022, 5:02 PMastonishing-quill-88807
03/15/2022, 6:35 PMwhite-balloon-205
03/16/2022, 5:37 AMastonishing-quill-88807
03/16/2022, 4:22 PMstocky-restaurant-98004
03/16/2022, 4:34 PMmysterious-area-77666
03/22/2022, 2:08 PMbroad-dog-22463
03/28/2022, 3:44 PMmysterious-area-77666
03/28/2022, 3:48 PMastonishing-quill-88807
04/05/2022, 3:28 PMbroad-dog-22463
04/07/2022, 3:26 PMastonishing-quill-88807
04/07/2022, 3:31 PMmysterious-area-77666
04/19/2022, 4:23 PMastonishing-quill-88807
04/25/2022, 5:00 PMstocky-restaurant-98004
04/25/2022, 5:13 PMastonishing-quill-88807
04/25/2022, 7:28 PMstocky-restaurant-98004
05/11/2022, 12:24 AMpulumi up
3. Update the domain comment
4. pulumi up
again
5. 💥astonishing-quill-88807
05/11/2022, 12:46 AMstocky-restaurant-98004
05/11/2022, 9:36 PMpulumi up
a second time.astonishing-quill-88807
05/11/2022, 11:06 PMstocky-restaurant-98004
05/12/2022, 4:18 AM// FORK: The Fastly provider takes advantage of TF's behavior in a somewhat novel way that causes a bug when the
// same provider is bridged in Pulumi. Therefore, we need to add the following block of code to ensure consistent
// behavior in the bridged provider.
//
// Detailed explanation:
//
// The TF provider interface looks like this:
// Plan(prior state, config) -> planned state
// Apply(prior state, planned state, config) -> new state
//
// In the Plan() stage, diffs include any CustomizeDiff funcs in the schema. However, Terraform's behavior (at
// least after v2.10.1 of the plugin SDK) is to strip diff customizers when performing an Apply.
//
// The Pulumi interface looks like this:
// Diff(prior state, config) -> diff result
// Update(prior state, config) -> new state
//
// In both cases, Pulumi does not strip diff customizers.
//
// For this resource, the effect of the difference in behavior is that during a call to Apply, the cloned_version
// attribute is not treated as computed, even though in the Plan it is treated as computed. This difference is
// because the cloned_version attribute is marked as computed by CustomizeDiff, which Pulumi runs during Update but
// TF does not run during Apply. The Pulumi provider reads the cloned_version field in its implementation of Update
// for that resource, so in TF it gets back the last actual value, but with Pulumi it gets back the zero value (0)
// because the new value is not known.
mysterious-area-77666
05/23/2022, 7:41 PMstocky-restaurant-98004
05/23/2022, 7:52 PMastonishing-quill-88807
05/24/2022, 3:03 PMstocky-restaurant-98004
05/25/2022, 3:27 PMastonishing-quill-88807
05/25/2022, 7:53 PM