Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

[SYM-5071] Ensure on_change implementations are base64 encoded #161

Merged

Conversation

Arianna2028
Copy link
Contributor

@Arianna2028 Arianna2028 commented Aug 18, 2023

Description

Currently on main (but not released to the public, so this is a safe change), on_change implementations are sent as-is to the API and read as such. However, to match all other implementations, we want to communicate them as base64 encoded strings.

Screenshots

The API data is base64 encoded
CleanShot 2023-08-18 at 10 04 19

The Terraform state data is NOT base64 encoded
CleanShot 2023-08-18 at 11 32 08

Create
CleanShot 2023-08-18 at 10 01 33

No changes detected
CleanShot 2023-08-18 at 10 02 11

Update
CleanShot 2023-08-18 at 10 03 14
CleanShot 2023-08-18 at 10 02 41

Destroy
CleanShot 2023-08-18 at 10 03 49

@linear
Copy link

linear bot commented Aug 18, 2023

@Arianna2028
Copy link
Contributor Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@Arianna2028 Arianna2028 marked this pull request as ready for review August 18, 2023 15:37
@Arianna2028 Arianna2028 requested a review from a team August 18, 2023 15:37
sym/provider/flow_resource.go Outdated Show resolved Hide resolved
Co-authored-by: Leslie Lam <leslie@symops.io>
@Arianna2028 Arianna2028 merged commit 648d561 into main Aug 18, 2023
3 checks passed
@Arianna2028 Arianna2028 deleted the ari/sym-5071-ensure-on_change-impls-are-base64-encoded branch August 18, 2023 19:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants