Commit 6345aad
committed
Units 16-17: Infrastructure validation and deployment patterns
- Unit 16: Platform targeting resolution for OpenTelemetry StopIteration errors
* Fix macOS ARM64 vs Linux x86_64 compatibility issues in Lambda layers
* Implement correct pip platform targeting with --platform manylinux2014_x86_64
* Optimize layer structure and size (31MB, under 50MB limit)
* Document minimal dependencies strategy (3 vs 80+ packages)
- Unit 17: Hello World debugging layer implementation model
* Complete minimal Lambda function for CI/CD pipeline testing
* Platform-targeted build scripts with conservative optimization
* Function URL setup with proper permissions and retry logic
* Comprehensive testing and validation framework
- Unit 17.1: Optional CI/CD workflow integration
* GitHub Actions workflow using workflow_dispatch pattern
* Retry logic for Function URL testing (3 attempts, 60s delays)
* Dynamic URL discovery and comprehensive error handling
* Integration with existing AWS credentials and environment variables
Implementation includes:
- aws/helloworld/ complete directory with scripts and documentation
- .github/workflows/deploy-helloworld-debug.yml optional workflow
- Updated dev_log with comprehensive documentation
- Race condition fix in deployment script with aws lambda wait
This provides a proven template for fixing CodeRipple layer issues and serves
as infrastructure validation baseline while main system is being resolved.1 parent 4b2d7af commit 6345aad
5,350 files changed
Lines changed: 5 additions & 1356472 deletions
File tree
- aws/helloworld
- helloworld_function
- helloworld_layer/python
- PIL
- PyJWT-2.10.1.dist-info
- annotated_types-0.7.0.dist-info
- licenses
- annotated_types
- anyio-4.9.0.dist-info
- anyio
- _backends
- _core
- abc
- streams
- attrs-25.3.0.dist-info
- licenses
- attrs
- attr
- aws_requests_auth-0.4.3.dist-info
- aws_requests_auth
- bin
- boto3-1.38.46.dist-info
- boto3
- data
- cloudformation/2010-05-15
- cloudwatch/2010-08-01
- dynamodb/2012-08-10
- ec2
- 2014-10-01
- 2015-03-01
- 2015-04-15
- 2015-10-01
- 2016-04-01
- 2016-09-15
- 2016-11-15
- glacier/2012-06-01
- iam/2010-05-08
- opsworks/2013-02-18
- s3/2006-03-01
- sns/2010-03-31
- sqs/2012-11-05
- docs
- dynamodb
- ec2
- examples
- resources
- s3
- botocore-1.38.46.dist-info
- botocore
- crt
- data
- accessanalyzer/2019-11-01
- account/2021-02-01
- acm-pca/2017-08-22
- acm/2015-12-08
- aiops/2018-05-10
- amplifybackend/2020-08-11
- amplifyuibuilder/2021-08-11
- amplify/2017-07-25
- amp/2020-08-01
- apigatewaymanagementapi/2018-11-29
- apigatewayv2/2018-11-29
- apigateway/2015-07-09
- appconfigdata/2021-11-11
- appconfig/2019-10-09
- appfabric/2023-05-19
- appflow/2020-08-23
- appintegrations/2020-07-29
- application-autoscaling/2016-02-06
- application-insights/2018-11-25
- application-signals/2024-04-15
- applicationcostprofiler/2020-09-10
- appmesh
- 2018-10-01
- 2019-01-25
- apprunner/2020-05-15
- appstream/2016-12-01
- appsync/2017-07-25
- arc-zonal-shift/2022-10-30
- artifact/2018-05-10
- athena/2017-05-18
- auditmanager/2017-07-25
- autoscaling-plans/2018-01-06
- autoscaling/2011-01-01
- b2bi/2022-06-23
- backup-gateway/2021-01-01
- backupsearch/2018-05-10
- backup/2018-11-15
- batch/2016-08-10
- bcm-data-exports/2023-11-26
- bcm-pricing-calculator/2024-06-19
- bedrock-agent-runtime/2023-07-26
- bedrock-agent/2023-06-05
- bedrock-data-automation-runtime/2024-06-13
- bedrock-data-automation/2023-07-26
- bedrock-runtime/2023-09-30
- bedrock/2023-04-20
- billingconductor/2021-07-30
- billing/2023-09-07
- braket/2019-09-01
- budgets/2016-10-20
- ce/2017-10-25
- chatbot/2017-10-11
- chime-sdk-identity/2021-04-20
- chime-sdk-media-pipelines/2021-07-15
- chime-sdk-meetings/2021-07-15
- chime-sdk-messaging/2021-05-15
- chime-sdk-voice/2022-08-03
- chime/2018-05-01
- cleanroomsml/2023-09-06
- cleanrooms/2022-02-17
- cloud9/2017-09-23
- cloudcontrol/2021-09-30
- clouddirectory
- 2016-05-10
- 2017-01-11
- cloudformation/2010-05-15
- cloudfront-keyvaluestore/2022-07-26
- cloudfront
- 2014-05-31
- 2014-10-21
- 2014-11-06
- 2015-04-17
- 2015-07-27
- 2015-09-17
- 2016-01-13
- 2016-01-28
- 2016-08-01
- 2016-08-20
- 2016-09-07
- 2016-09-29
- 2016-11-25
- 2017-03-25
- 2017-10-30
- 2018-06-18
- 2018-11-05
- 2019-03-26
- 2020-05-31
- cloudhsmv2/2017-04-28
- cloudhsm/2014-05-30
- cloudsearchdomain/2013-01-01
- cloudsearch
- 2011-02-01
- 2013-01-01
- cloudtrail-data/2021-08-11
- cloudtrail/2013-11-01
- cloudwatch/2010-08-01
- codeartifact/2018-09-22
- codebuild/2016-10-06
- codecatalyst/2022-09-28
- codecommit/2015-04-13
- codeconnections/2023-12-01
- codedeploy/2014-10-06
- codeguru-reviewer/2019-09-19
- codeguru-security/2018-05-10
- codeguruprofiler/2019-07-18
- codepipeline/2015-07-09
- codestar-connections/2019-12-01
- codestar-notifications/2019-10-15
- cognito-identity/2014-06-30
- cognito-idp/2016-04-18
- cognito-sync/2014-06-30
- comprehendmedical/2018-10-30
- comprehend/2017-11-27
- compute-optimizer/2019-11-01
- config/2014-11-12
- connect-contact-lens/2020-08-21
- connectcampaignsv2/2024-04-23
- connectcampaigns/2021-01-30
- connectcases/2022-10-03
- connectparticipant/2018-09-07
- connect/2017-08-08
- controlcatalog/2018-05-10
- controltower/2018-05-10
- cost-optimization-hub/2022-07-26
- cur/2017-01-06
- customer-profiles/2020-08-15
- databrew/2017-07-25
- dataexchange/2017-07-25
- datapipeline/2012-10-29
- datasync/2018-11-09
- datazone/2018-05-10
- dax/2017-04-19
- deadline/2023-10-12
- detective/2018-10-26
- devicefarm/2015-06-23
- devops-guru/2020-12-01
- directconnect/2012-10-25
- discovery/2015-11-01
- dlm/2018-01-12
- dms/2016-01-01
- docdb-elastic/2022-11-28
- docdb/2014-10-31
- drs/2020-02-26
- ds-data/2023-05-31
- dsql/2018-05-10
- ds/2015-04-16
- dynamodbstreams/2012-08-10
- dynamodb
- 2011-12-05
- 2012-08-10
- ebs/2019-11-02
- ec2-instance-connect/2018-04-02
- ec2
- 2014-09-01
- 2014-10-01
- 2015-03-01
- 2015-04-15
- 2015-10-01
- 2016-04-01
- 2016-09-15
- 2016-11-15
- ecr-public/2020-10-30
- ecr/2015-09-21
- ecs/2014-11-13
- efs/2015-02-01
- eks-auth/2023-11-26
- eks/2017-11-01
- elasticache
- 2014-09-30
- 2015-02-02
- elasticbeanstalk/2010-12-01
- elastictranscoder/2012-09-25
- elbv2/2015-12-01
- elb/2012-06-01
- emr-containers/2020-10-01
- emr-serverless/2021-07-13
- emr/2009-03-31
- entityresolution/2018-05-10
- es/2015-01-01
- events
- 2014-02-03
- 2015-10-07
- evidently/2021-02-01
- evs/2023-07-27
- finspace-data/2020-07-13
- finspace/2021-03-12
- firehose/2015-08-04
- fis/2020-12-01
- fms/2018-01-01
- forecastquery/2018-06-26
- forecast/2018-06-26
- frauddetector/2019-11-15
- freetier/2023-09-07
- fsx/2018-03-01
- gameliftstreams/2018-05-10
- gamelift/2015-10-01
- geo-maps/2020-11-19
- geo-places/2020-11-19
- geo-routes/2020-11-19
- glacier/2012-06-01
- globalaccelerator/2018-08-08
- glue/2017-03-31
- grafana/2020-08-18
- greengrassv2/2020-11-30
- greengrass/2017-06-07
- groundstation/2019-05-23
- guardduty/2017-11-28
- healthlake/2017-07-01
- health/2016-08-04
- iam/2010-05-08
- identitystore/2020-06-15
- imagebuilder/2019-12-02
- importexport/2010-06-01
- inspector-scan/2023-08-08
- inspector2/2020-06-08
- inspector
- 2015-08-18
- 2016-02-16
- internetmonitor/2021-06-03
- invoicing/2024-12-01
- iot-data/2015-05-28
- iot-jobs-data/2017-09-29
- iot-managed-integrations/2025-03-03
- iotanalytics/2017-11-27
- iotdeviceadvisor/2020-09-18
- iotevents-data/2018-10-23
- iotevents/2018-07-27
- iotfleethub/2020-11-03
- iotfleetwise/2021-06-17
- iotsecuretunneling/2018-10-05
- iotsitewise/2019-12-02
- iotthingsgraph/2018-09-06
- iottwinmaker/2021-11-29
- iotwireless/2020-11-22
- iot/2015-05-28
- ivs-realtime/2020-07-14
- ivschat/2020-07-14
- ivs/2020-07-14
- kafkaconnect/2021-09-14
- kafka/2018-11-14
- kendra-ranking/2022-10-19
- kendra/2019-02-03
- keyspacesstreams/2024-09-09
- keyspaces/2022-02-10
- kinesis-video-archived-media/2017-09-30
- kinesis-video-media/2017-09-30
- kinesis-video-signaling/2019-12-04
- kinesis-video-webrtc-storage/2018-05-10
- kinesisanalyticsv2/2018-05-23
- kinesisanalytics/2015-08-14
- kinesisvideo/2017-09-30
- kinesis/2013-12-02
- kms/2014-11-01
- lakeformation/2017-03-31
- lambda
- 2014-11-11
- 2015-03-31
- launch-wizard/2018-05-10
- lex-models/2017-04-19
- lex-runtime/2016-11-28
- lexv2-models/2020-08-07
- lexv2-runtime/2020-08-07
- license-manager-linux-subscriptions/2018-05-10
- license-manager-user-subscriptions/2018-05-10
- license-manager/2018-08-01
- lightsail/2016-11-28
- location/2020-11-19
- logs/2014-03-28
- lookoutequipment/2020-12-15
- lookoutmetrics/2017-07-25
- lookoutvision/2020-11-20
- m2/2021-04-28
- machinelearning/2014-12-12
- macie2/2020-01-01
- mailmanager/2023-10-17
- managedblockchain-query/2023-05-04
- managedblockchain/2018-09-24
- marketplace-agreement/2020-03-01
- marketplace-catalog/2018-09-17
- marketplace-deployment/2023-01-25
- marketplace-entitlement/2017-01-11
- marketplace-reporting/2018-05-10
- marketplacecommerceanalytics/2015-07-01
- mediaconnect/2018-11-14
- mediaconvert/2017-08-29
- medialive/2017-10-14
- mediapackage-vod/2018-11-07
- mediapackagev2/2022-12-25
- mediapackage/2017-10-12
- mediastore-data/2017-09-01
- mediastore/2017-09-01
- mediatailor/2018-04-23
- medical-imaging/2023-07-19
- memorydb/2021-01-01
- meteringmarketplace/2016-01-14
- mgh/2017-05-31
- mgn/2020-02-26
- migration-hub-refactor-spaces/2021-10-26
- migrationhub-config/2019-06-30
- migrationhuborchestrator/2021-08-28
- migrationhubstrategy/2020-02-19
- mpa/2022-07-26
- mq/2017-11-27
- mturk/2017-01-17
- mwaa/2020-07-01
- neptune-graph/2023-11-29
- neptunedata/2023-08-01
- neptune/2014-10-31
- network-firewall/2020-11-12
- networkflowmonitor/2023-04-19
- networkmanager/2019-07-05
- networkmonitor/2023-08-01
- notificationscontacts/2018-05-10
- notifications/2018-05-10
- oam/2022-06-10
- observabilityadmin/2018-05-10
- omics/2022-11-28
- opensearchserverless/2021-11-01
- opensearch/2021-01-01
- opsworkscm/2016-11-01
- opsworks/2013-02-18
- organizations/2016-11-28
- osis/2022-01-01
- outposts/2019-12-03
- panorama/2019-07-24
- partnercentral-selling/2022-07-26
- payment-cryptography-data/2022-02-03
- payment-cryptography/2021-09-14
- pca-connector-ad/2018-05-10
- pca-connector-scep/2018-05-10
- pcs/2023-02-10
- personalize-events/2018-03-22
- personalize-runtime/2018-05-22
- personalize/2018-05-22
- pinpoint-email/2018-07-26
- pinpoint-sms-voice-v2/2022-03-31
- pinpoint-sms-voice/2018-09-05
- pinpoint/2016-12-01
- pipes/2015-10-07
- pi/2018-02-27
- polly/2016-06-10
- pricing/2017-10-15
- proton/2020-07-20
- qapps/2023-11-27
- qbusiness/2023-11-27
- qconnect/2020-10-19
- qldb-session/2019-07-11
- qldb/2019-01-02
- quicksight/2018-04-01
- ram/2018-01-04
- rbin/2021-06-15
- rds-data/2018-08-01
- rds
- 2014-09-01
- 2014-10-31
- redshift-data/2019-12-20
- redshift-serverless/2021-04-21
- redshift/2012-12-01
- rekognition/2016-06-27
- repostspace/2022-05-13
- resiliencehub/2020-04-30
- resource-explorer-2/2022-07-28
- resource-groups/2017-11-27
- resourcegroupstaggingapi/2017-01-26
- robomaker/2018-06-29
- rolesanywhere/2018-05-10
- route53-recovery-cluster/2019-12-02
- route53-recovery-control-config/2020-11-02
- route53-recovery-readiness/2019-12-02
- route53domains/2014-05-15
- route53profiles/2018-05-10
- route53resolver/2018-04-01
- route53/2013-04-01
- rum/2018-05-10
- s3control/2018-08-20
- s3outposts/2017-07-25
- s3tables/2018-05-10
- s3/2006-03-01
- sagemaker-a2i-runtime/2019-11-07
- sagemaker-edge/2020-09-23
- sagemaker-featurestore-runtime/2020-07-01
- sagemaker-geospatial/2020-05-27
- sagemaker-metrics/2022-09-30
- sagemaker-runtime/2017-05-13
- sagemaker/2017-07-24
- savingsplans/2019-06-28
- scheduler/2021-06-30
- schemas/2019-12-02
- sdb/2009-04-15
- secretsmanager/2017-10-17
- security-ir/2018-05-10
- securityhub/2018-10-26
- securitylake/2018-05-10
- serverlessrepo/2017-09-08
- service-quotas/2019-06-24
- servicecatalog-appregistry/2020-06-24
- servicecatalog/2015-12-10
- servicediscovery/2017-03-14
- sesv2/2019-09-27
- ses/2010-12-01
- shield/2016-06-02
- signer/2017-08-25
- simspaceweaver/2022-10-28
- sms-voice/2018-09-05
- sms/2016-10-24
- snow-device-management/2021-08-04
- snowball/2016-06-30
- sns/2010-03-31
- socialmessaging/2024-01-01
- sqs/2012-11-05
- ssm-contacts/2021-05-03
- ssm-guiconnect/2021-05-01
- ssm-incidents/2018-05-10
- ssm-quicksetup/2018-05-10
- ssm-sap/2018-05-10
- ssm/2014-11-06
- sso-admin/2020-07-20
- sso-oidc/2019-06-10
- sso/2019-06-10
- stepfunctions/2016-11-23
- storagegateway/2013-06-30
- sts/2011-06-15
- supplychain/2024-01-01
- support-app/2021-08-20
- support/2013-04-15
- swf/2012-01-25
- synthetics/2017-10-11
- taxsettings/2018-05-10
- textract/2018-06-27
- timestream-influxdb/2023-01-27
- timestream-query/2018-11-01
- timestream-write/2018-11-01
- tnb/2008-10-21
- transcribe/2017-10-26
- transfer/2018-11-05
- translate/2017-07-01
- trustedadvisor/2022-09-15
- verifiedpermissions/2021-12-01
- voice-id/2021-09-27
- vpc-lattice/2022-11-30
- waf-regional/2016-11-28
- wafv2/2019-07-29
- waf/2015-08-24
- wellarchitected/2020-03-31
- wisdom/2020-10-19
- workdocs/2016-05-01
- workmailmessageflow/2019-05-01
- workmail/2017-10-01
- workspaces-instances/2022-07-26
- workspaces-thin-client/2023-08-22
- workspaces-web/2020-07-08
- workspaces/2015-04-08
- xray/2016-04-12
- docs
- bcdoc
- retries
- vendored
- requests
- packages
- urllib3
- certifi-2025.6.15.dist-info
- licenses
- certifi
- charset_normalizer-3.4.2.dist-info
- licenses
- charset_normalizer
- cli
- click-8.2.1.dist-info
- licenses
- click
- colorama-0.4.6.dist-info
- licenses
- colorama
- dateutil
- parser
- tz
- zoneinfo
- dill-0.4.0.dist-info
- dill
- docstring_parser-0.16.dist-info
- docstring_parser
- dotenv
- h11-0.16.0.dist-info
- licenses
- h11
- httpcore-1.0.9.dist-info
- licenses
- httpcore
- _async
- _backends
- _sync
- httpx-0.28.1.dist-info
- licenses
- httpx_sse-0.4.1.dist-info
- licenses
- httpx_sse
- httpx
- _transports
- idna-3.10.dist-info
- idna
- importlib_metadata-8.7.0.dist-info
- licenses
- importlib_metadata
- compat
- jmespath-1.0.1.dist-info
- jmespath
- jsonschema-4.24.0.dist-info
- licenses
- jsonschema_specifications-2025.4.1.dist-info
- licenses
- jsonschema_specifications
- schemas
- draft201909
- vocabularies
- draft202012
- vocabularies
- draft3
- draft4
- draft6
- draft7
- jsonschema
- benchmarks
- issue232
- jwt
- markdown_it_py-3.0.0.dist-info
- markdown_it
- cli
- common
- helpers
- presets
- rules_block
- rules_core
- rules_inline
- mcp-1.10.1.dist-info
- licenses
- mcp
- client
- stdio
- cli
- server
- auth
- handlers
- middleware
- fastmcp
- prompts
- resources
- tools
- utilities
- lowlevel
- mdurl-0.1.2.dist-info
- mdurl
- mpmath-1.3.0.dist-info
- mpmath
- calculus
- functions
- libmp
- matrices
- multipart
- opentelemetry_api-1.34.1.dist-info
- licenses
- opentelemetry_sdk-1.34.1.dist-info
- licenses
- opentelemetry_semantic_conventions-0.55b1.dist-info
- licenses
- opentelemetry
- _events
- _logs
- _internal
- severity
- attributes
- baggage
- propagation
- context
- environment_variables
- metrics
- _internal
- propagate
- propagators
- sdk
- _configuration
- _events
- _logs
- _internal
- export
- export
- environment_variables
- error_handler
- metrics
- _internal
- exemplar
- exponential_histogram
- mapping
- export
- export
- view
- resources
- trace
- export
- util
- version
- semconv
- _incubating
- attributes
- metrics
- attributes
- metrics
- resource
- trace
- version
- trace
- propagation
- util
- version
- pillow-11.2.1.dist-info
- licenses
- pillow.libs
- prompt_toolkit-3.0.51.dist-info
- licenses
- prompt_toolkit
- application
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
This file was deleted.
Lines changed: 0 additions & 292 deletions
This file was deleted.
0 commit comments