awslabs / cloudfront-hosting-toolkit

CloudFront Hosting Toolkit offers the convenience of a managed frontend hosting service while retaining full control over the hosting and deployment infrastructure to make it your own.
Apache License 2.0
95 stars 4 forks source link

Native CodePipline steps #17

Open sholtomaud opened 3 months ago

sholtomaud commented 3 months ago

Use case

granted this seems to be beta phase in development, but it would be good to remove the step functions from the pipeline image

Solution/User Experience

step functions in pipelines are a temporary solution to something that should be native/built-in steps/actions in CodePipeline.

This will make for a more standard pipeline flow without the need for custom step functions.

Action structure reference


ActionTypeId:
      Category: Invoke
      Owner: AWS
      Version: 1
      Provider: CloudFrontHosting    
Configuration:
      CloudFrontHostingAction: UpdateKeyValue

ActionTypeId:
      Category: Invoke
      Owner: AWS
      Version: 1
      Provider: CloudFrontHosting    
Configuration:
      CloudFrontHostingAction: Purge

## Or a simple consolidated action
ActionTypeId:
      Category: Invoke
      Owner: AWS
      Version: 1
      Provider: CloudFrontHosting    
Configuration:
      Phase: alpha|beta|prod

Additional questions

How does canary/blue-green work with the pipelines?