Skip to content
Permalink
Branch: master
Commits on Nov 6, 2019
Commits on Sep 23, 2019
  1. Fixing autoscaling for ECS services: The previous policy did scale up…

    faester authored and maartenvanderhoef committed Sep 23, 2019
    … correctly but caused an exception with an empty error message, when scale downs were attempted. (#78)
  2. Health port variable (#80)

    ivanmartos authored and maartenvanderhoef committed Sep 23, 2019
    * health check port as variable for alb_handling
    
    * health port as variable
Commits on Sep 17, 2019
  1. Merge pull request #77 from Rolf88/scheduled_task_name

    mhvelplund committed Sep 17, 2019
    Scheduled task name
  2. Update examples/with_scheduled_task/main.tf

    Rolf88 and mhvelplund committed Sep 17, 2019
    Co-Authored-By: Mads Hvelplund <mhvelplund@users.noreply.github.com>
  3. Update variables.tf

    Rolf88 and mhvelplund committed Sep 17, 2019
    Co-Authored-By: Mads Hvelplund <mhvelplund@users.noreply.github.com>
Commits on Sep 16, 2019
  1. example + terraform fmt

    POLHUS\rolf.m.harksen
    POLHUS\rolf.m.harksen committed Sep 16, 2019
  2. added scheduled task name

    POLHUS\rolf.m.harksen
    POLHUS\rolf.m.harksen committed Sep 16, 2019
Commits on Sep 5, 2019
  1. Fixed a bug where scheduled task resources were created by accident (#76

    mhvelplund authored and maartenvanderhoef committed Sep 5, 2019
    )
    
    * Added example of headless service
Commits on Aug 30, 2019
  1. Only trigger ALB module if ALB != ‘none’ (#74)

    joshmyers authored and maartenvanderhoef committed Aug 30, 2019
    If wanting to create an ECS task that does not have an ALB e.g. a 
    scheduled task of some kind that doesn’t need an ALB, because we try and
    do a lookup on a data source, I am currently getting [1]
    
    If load_balancing_type is set to none, take it that we do *not* want to
    create any resources in the ALB module.
    
    [1] 
    ```
    * module.ecs_service.module.alb_handling.data.aws_lb.main: 1 error occurred:
    * module.ecs_service.module.alb_handling.data.aws_lb.main: data.aws_lb.main: Search returned 0 results, please revise so only one is returned
    ```
  2. Scheduled task support (#73)

    mhvelplund authored and maartenvanderhoef committed Aug 30, 2019
    * Lock versions of examples to < 0.12
    
    * Fixed bug when load balancing type & route53_record_type are "none"
    
    * Added support for ECS scheduled tasks.
    
    * Added documentation
    
    * Documented EFS mount points.
    * Documented scheduled ECS tasks.
Commits on Aug 7, 2019
Commits on Aug 2, 2019
  1. Allow pulling images from private Docker registry (#71)

    joshmyers authored and maartenvanderhoef committed Aug 2, 2019
    * Allow pulling images from private Docker registry
    
    As per the documentation for Fargate using private docker registries[1]
    this commit introduces a new variable
    `repository_credentials_secret_arn` used to pass in the AWS Secrets
    Manager path to your credentials secret. Note that this also requires
    the Lambda function execution task role to have access to this secret.
    
    [1] https://aws.amazon.com/blogs/compute/introducing-private-registry-authentication-support-for-aws-fargate/
    
    * Output the ECS task execution role name
    
    We need the role name rather than the ARN of the role to attach policies
    to it later. Yes we could infer the name from the ARN using split etc
    but meh, just output it.
    
    * Add `initProcessEnabled` to container def
    
    Enable running container definitions with the —init flag to ensure a
    proper supervisor runs our command.
Commits on Jul 31, 2019
  1. It seems like AWS maybe doing some extra validation here but without (#…

    joshmyers authored and maartenvanderhoef committed Jul 31, 2019
    …70)
    
    this change, I am getting the below error [1]. As per the docs [2] when
    using an ECS condition like ArnEquals, we need to ensure the value is
    an actual valid ARN of the cluster, and not just the cluster id (name)
    
    [1] `MalformedPolicyDocument: The policy failed legacy parsing`
    [2] https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonelasticcontainerservice.html
  2. Fetch ECS task ARN for IAM policy conditional (#68)

    joshmyers authored and maartenvanderhoef committed Jul 31, 2019
    It seems like AWS maybe doing some extra validation here but without 
    this change, I am getting the below error [1]. As per the docs [2] when
    using an ECS condition like ArnEquals, we need to ensure the value is
    an actual valid ARN of the cluster, and not just the cluster id (name)
    
    [1] `MalformedPolicyDocument: The policy failed legacy parsing`
    [2] https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonelasticcontainerservice.html
Commits on Jul 29, 2019
  1. fix typo (#64)

    ansgarm authored and maartenvanderhoef committed Jul 29, 2019
Commits on Jun 13, 2019
  1. Added support for secrets (#61)

    mhvelplund authored and Jamie-BitFlight committed Jun 13, 2019
    * Added support for secrets
    
    The module now supports an extra parameter `container_secrets`, similar to
    `container_envvars`.
    
    Values in this map will be treated as SSM keys and the actual value
    injected into the environment of the container will be pulled from SSM.
    To work, the SSM keys must also be added to `ssm_paths`.
    
    Example:
    
    ```
    container_secrets = {
      DB_PASSWORD = "myapp/dev/db.password"
    }c
    ssm_paths         = ["myapp/dev"]
    ```
    
    The example above injects the (decrypted) contents of
    `/myapp/dev/db.password` into the env. variable `DB_PASSWORD`.
    
    * Renamed the toggle to enable container secrets
    
    * Dynamically generate the Lambda ZIP file.
    
    * Fix support for docker labels
    
    * Added a hash of secret keys as a Docker label
    
    * Fix whitespace
    
    * Updated example to work with the newest version of Airship (and Windows)
    
    * Updated NLB example to serve as a reusable module in other examples
    
    As part of that, I removed the security group rules, since they only
    replicated the default behaviour of the default SG, but added some
    brittleness in the step that discovers the NLB's ip addresses.
    
    * Added an example of a service with secrets
    
    * Added documentation
Commits on Apr 10, 2019
  1. Minor bugfixing (#59)

    mhvelplund authored and maartenvanderhoef committed Apr 10, 2019
    * Fixed bug in custom exception and error reporting
    
    * Added stack to custom error. Without it, error origin is lost.
    * Changed Python string building to JS concatenation.
      string modulo string gives a NaN result every time.
    
    * Cleanup.
    
    * Respect the health check grace period variable
    
    * Statement actions MUST be lists in Terraform.
Commits on Mar 25, 2019
  1. Travis cli install + proper config build trigger (#55)

    maartenvanderhoef committed Mar 25, 2019
    * Travis install + proper config
    
    * Install travis gem only within the condition branch=master
  2. Fix container command + docs (#58)

    maartenvanderhoef committed Mar 25, 2019
  3. variables fix (#57)

    maartenvanderhoef committed Mar 25, 2019
  4. fixes for the nlb examples (#56)

    maartenvanderhoef committed Mar 25, 2019
Commits on Mar 24, 2019
  1. Moving getting_started into this repository as well

    maartenvanderhoef committed Mar 24, 2019
  2. Adding documentation in the ecs repo itself (#54)

    maartenvanderhoef committed Mar 24, 2019
  3. Don't make HTTPS listener rules when HTTPS is disabled. (#53)

    mhvelplund authored and maartenvanderhoef committed Mar 24, 2019
Commits on Mar 21, 2019
  1. Moved variable comments to description tags (#51)

    mhvelplund authored and maartenvanderhoef committed Mar 21, 2019
    * Moved variable comments to description tags
Commits on Mar 19, 2019
  1. #46 resolving incorrect example in variable comment (#50)

    Jamie-BitFlight authored and maartenvanderhoef committed Mar 19, 2019
    * #46 resolving incorrect example in variable comment
    
    * fmt
Commits on Mar 18, 2019
  1. Load balancer map removal (#47)

    Jamie-BitFlight authored and maartenvanderhoef committed Mar 18, 2019
    * Added an example of create = false
    * Load balancer map removal
Commits on Mar 13, 2019
  1. Add ability to set `docker run` "command argument" list (#45)

    tamsky authored and maartenvanderhoef committed Mar 13, 2019
    * Add a new variable: 'command'
Commits on Feb 13, 2019
  1. Add Deployment Type (#44)

    i5okie authored and maartenvanderhoef committed Feb 13, 2019
    * Add Deployment Type
    
    * remove controller type map
    
    * remove default value, clean up description
    
    * Use deployment_controller_type variable everywhere for consistency, cleanup descirption
Commits on Jan 21, 2019
  1. Add more output variables (#42)

    LukGerman authored and maartenvanderhoef committed Jan 21, 2019
    * More outputs
Commits on Jan 18, 2019
  1. Adding Github templates Cloudposse style (#43)

    maartenvanderhoef committed Jan 18, 2019
Commits on Jan 16, 2019
  1. Parameterising Terraform version for Travis (#40)

    gliptak authored and maartenvanderhoef committed Jan 16, 2019
Older
You can’t perform that action at this time.