From 24e155bf143ee6db51b62e555fade2dd19725bc3 Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Tue, 1 Oct 2024 18:31:15 -0500 Subject: [PATCH] fix: Remove intrinsic function to convert string to numeric (#2) --- state_machine.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/state_machine.json b/state_machine.json index 718262a..7327324 100644 --- a/state_machine.json +++ b/state_machine.json @@ -33,9 +33,9 @@ "DeviceName": "/dev/xvda", "Ebs": { "DeleteOnTermination": true, - "Iops.$": "States.StringToJson(${ebs_volume_settings.iops})", - "Throughput.$": "States.StringToJson(${ebs_volume_settings.throughput})", - "VolumeSize.$": "States.StringToJson(${ebs_volume_settings.volume_size})", + "Iops.$": ${ebs_volume_settings.iops}, + "Throughput.$": ${ebs_volume_settings.throughput}, + "VolumeSize.$": ${ebs_volume_settings.volume_size}, "VolumeType": "gp3" } }, @@ -43,9 +43,9 @@ "DeviceName": "/dev/xvdb", "Ebs": { "DeleteOnTermination": true, - "Iops.$": "States.StringToJson(${ebs_volume_settings.iops})", - "Throughput.$": "States.StringToJson(${ebs_volume_settings.throughput})", - "VolumeSize.$": "States.StringToJson(${ebs_volume_settings.volume_size})", + "Iops.$": ${ebs_volume_settings.iops}, + "Throughput.$": ${ebs_volume_settings.throughput}, + "VolumeSize.$": ${ebs_volume_settings.volume_size}, "VolumeType": "gp3" } }