@@ -87,9 +87,10 @@ Choose **Map**, which allows for parallel worflow for each item in a dataset (in
...
@@ -87,9 +87,10 @@ Choose **Map**, which allows for parallel worflow for each item in a dataset (in
* Within the 'CSV' condition set in the Choice state, include the Lambda function which generates output data in CSV format.
* Within the 'CSV' condition set in the Choice state, include the Lambda function which generates output data in CSV format.
* Additionally, under the 'default' condition, include the Lambda function which generates output data in PNG format.
* Additionally, under the 'default' condition, include the Lambda function which generates output data in PNG format.
#### Step 5: Save and Test
#### Step 5: Save and Test
* Change the name of the S3 bucket so that the results are not saved in the satellite-images-ndvi bucket: see codes of the two Lambda functions in Step 4
#### Step 6: Save and Test
* Once all the states are configured correctly, Create the state machine.
* Once all the states are configured correctly, Create the state machine.
* Test your state machine by starting an execution and monitoring the results to ensure that it behaves as expected.
* Test your state machine by starting an execution and monitoring the results to ensure that it behaves as expected.
### Questions
#### Step 7: Proposals for improvement
* Why did your execution fail, and how can you successfully execute the step function?
* Will be discussed in the class
* Hint: Check the Choice state block.
* What is the difference between a 'Distibuted' map and 'inline' map