1.0.3 • Published 3 years ago
@daysmart/cdk-ecs-codedeploy-resources v1.0.3
Welcome to the Open Source Construct for CdkEcsCodedeployResources, which provisions blue/green codedeploy resources for ecs services!
This CDK Construct Library (CdkEcsCodedeployResources) creates a codedeploy service role, appspec file deployment to the env level s3 bucket, codedeploy application, codedeploy deployment group, and sdk call for a blue/green ecs deployment. This construct defines an interface (CdkEcsCodedeployResourcesProps) with the following properties that can be passed in:
- stage: string => The environment of the ecs service (ex. devtest)
- appName: string => The name of the desired ecs service and the codedeploy app to be created (ex. api2)
- serviceName: string => The name of the desired ecs service (ex. stage-api2)
- clusterName: string => The name of the existing cluster which your load balanced service operates inside (ex. dev-cluster3)
- listenerArn: string => The arn of the https listener for the ecs service (ex. arn:aws:elasticloadbalancing:us-east-1:674907216843:listener/app/stage-api2-loadbalancer/67jdn57f6m789e/m8sa43f58ykj)
- targetGroupName: string => The string of the initial target group name that receives load balancer traffic (ex. test-CdkEc-6NDUD6JF5)
- commitHash: string => A commit hash or other unique id that must be changed on each subsequent deployment in order to trigger a new blue/green codedeploy deployment (ex. h675fnt7)
- deployBucket: string => The name of the deploy bucket created by the environment level resources construct (ex. stage-deploy-bucket)
- (optional) taskDefinitionVersion: string => An optional task definition version to be added to the appspec file if provided (ex. 6)
Useful commands
npm run buildcompile typescript to jsnpm run watchwatch for changes and compile
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.0.3
3 years ago
0.2.4
4 years ago
0.2.1
4 years ago
0.2.3
4 years ago
0.2.2
4 years ago
0.2.0
4 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago