Last active
September 11, 2017 06:41
-
-
Save ddewaele/d457f635b908c69e6c968f3ceac371aa to your computer and use it in GitHub Desktop.
ecs-docker-hub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Metadata: | |
AWS::CloudFormation::Init: | |
config: | |
commands: | |
01_add_instance_to_cluster: | |
command: !Sub | | |
echo ECS_CLUSTER=${ECSCluster} >> /etc/ecs/ecs.config | |
echo ECS_ENGINE_AUTH_TYPE=dockercfg >> /etc/ecs/ecs.config | |
echo ECS_ENGINE_AUTH_DATA="{\"https://index.docker.io/v1/\": {\"auth\": \"xxxxxxxxxxxx=\"}}" >> /etc/ecs/ecs.config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment