language: python

python:
  - 2.7

env:
  global:


before_install:
  - pip install awscli

install:
  - pip install -r requirements.txt

before_script:


script:


after_success:

AWSTemplateFormatVersion: "2010-09-09"

Description: The code deployment application.

Parameters:

  ServiceRole:
    Default: INPUT_IAM
    Description: IAM service role for code deploy
    Type: String

  ApplicationName:
    Default: stringer-app
    Type: String

  EC2TagKey:
    Default: owner
    Type: String

  EC2TagValue:
    Default: kalab
    Type: String

Resources:
  Application:
    Type: 'AWS::CodeDeploy::Application'
    Properties:
      ApplicationName:
        Ref: ApplicationName
  DeploymentGroup:
    Type: 'AWS::CodeDeploy::DeploymentGroup'
    Properties:
      ApplicationName:
        Ref: Application
      DeploymentConfigName: CodeDeployDefault.OneAtATime
      AutoRollbackConfiguration:
        Enabled: 'false'
      DeploymentGroupName: wordsum
      Ec2TagFilters:
        - Key:
            Ref: EC2TagKey
          Value:
            Ref: EC2TagValue
          Type: KEY_AND_VALUE
      ServiceRoleArn:
        Ref: ServiceRole
Write the CF template for the code-deploy. Need to test. Publish for time and life.
Write the CF template for the code-deploy. Need to test. Publish for time and life.
