Skip to content

Instantly share code, notes, and snippets.

@MattBlack85
Last active October 5, 2020 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattBlack85/a0988dc9d76422980a327a8908f7cc5b to your computer and use it in GitHub Desktop.
Save MattBlack85/a0988dc9d76422980a327a8908f7cc5b to your computer and use it in GitHub Desktop.
DOMAIN_NAME = DNS_STACK_REFERENCE.get_output('domain_name')
nginx_definition = DOMAIN_NAME.apply(
lambda domain_name: build_task_definition(
project_name=project_name,
container_name='prometheus-nginx-vts-exporter',
depends_on=[{'containerName': project_name, 'condition': 'START'}],
image='docker.io/sophos/nginx-vts-exporter',
links=['relay:relay'],
memory_reservation=64,
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment