Development

AWS, Docker compose, ecs, Cloud formation: !Ref or !GetAtt not working

When working with docker compose, some Cloud formation functions dont work. For example !Ref or !GetAtt. Invalid XML ; cvc-maxLength-valid: Value ‘LoadBalancer.CanonicalHostedZoneID’ with length = ’34’ is not facet-valid with respect to maxLength ’32’ for type ‘ResourceId’. (Service: AmazonRoute53; Status Code: 400; Error Code: InvalidInput; Request ID: a6981e1e-5ae6-43e7-8d6b-4543ceaa5d0b; Proxy: null)[…]

Read More »

AWS Fargate: The execute command failed because execute command was not enabled when the task

An error occurred (InvalidParameterException) when calling the ExecuteCommand operation: The execute command failed because execute command was not enabled when the task was run or the execute command agent isn’t running. Wait and try again or run a new task with execute command enabled and try again. In your docker-compose.yml[…]

Read More »

STUCK IN UPDATE_IN_PROGRESS

when you attempt to update cluster twice, status might get stuck. Then delete tasks that you see are conflicting It could also be that you manually create revisions and aws is trying to replace those with new revisions. If so, deregister the old revisions and let the update will finish[…]

Read More »

UPDATE_ROLLBACK_FAILED

https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-update-rollback-failed/ If your stack is stuck in the UPDATE_ROLLBACK_FAILED state after a failed update, then the only actions that you can perform on the stack are the ContinueUpdateRollback or DeleteStack operations If you choose to continue update, but it still fails, you can skip FAILED resources during rollback  In the Continue update rollback dialog box, expand Advanced[…]

Read More »