https://pulumi.com logo
#python
Title
# python
j

jolly-camera-35709

10/22/2020, 6:29 AM
Copy code
container = containerservice.Group('SpartanBuildContainer',
                                   name='{}-build'.format(project_name),
                                   location=resource_group.location,
                                   resource_group_name=resource_group.name,
                                   ip_address_type="public",
                                   dns_name_label="{}-build".format(project_name),
                                   os_type="Linux",
                                   containers=[
                                     containerservice.GroupContainerArgs(
                                       name='{}-build'.format(project_name),
                                       image='{}/{}-build:{}'.format(container_registry.login_server,
                                                                      project_name,
                                                                      get_image_tag_stdout),
                                       cpu=1,
                                       memory=1.5,