diff --git a/cli/internal/state/state.go b/cli/internal/state/state.go index 7671acf90b5..35cb5bcbf1a 100644 --- a/cli/internal/state/state.go +++ b/cli/internal/state/state.go @@ -204,9 +204,9 @@ func (h *HexBytes) UnmarshalYAML(unmarshal func(any) error) error { bytes, err := hex.DecodeString(hexString) if err != nil { - return fmt.Errorf("decoding hex bytes: %w", err) + *h = []byte(hexString) // was not hex encoded in Terraform + return nil // TODO fix: encode in terraform? } - *h = bytes return nil } diff --git a/cli/internal/terraform/terraform/constellation-cluster/main.tf b/cli/internal/terraform/terraform/constellation-cluster/main.tf index ba42285f4a2..a20df4a9df8 100644 --- a/cli/internal/terraform/terraform/constellation-cluster/main.tf +++ b/cli/internal/terraform/terraform/constellation-cluster/main.tf @@ -9,8 +9,11 @@ resource "terraform_data" "prepare_config" { #} // TODO only once provisioner "local-exec" { command = <