Created
July 6, 2021 16:19
-
-
Save urothis/197e866016a47d7f9db8e03596d2ef5b to your computer and use it in GitHub Desktop.
This file contains 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
ContainerDefinitions = JsonSerializer.Serialize(new[] { | |
new Dictionary<string, object?> { | |
{"name", "first"}, | |
{"image", "***.dkr.ecr.us-west-2.amazonaws.com/***:***"}, | |
{"environment", new[] { new Dictionary<string, object> { | |
{"PG_ENDPOINT", "potato"}, | |
{"PG_READ_ENDPOINT", "banana"}, | |
{"ASPNETCORE_URLS", "test"} | |
}} | |
}, | |
{"cpu", 10}, | |
{"memory", 512}, | |
{"essential", true}, | |
{"portMappings", new[] {new Dictionary<string, object?> { | |
{"containerPort", 5000}, | |
{"hostPort", 80} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment