https://pulumi.com logo
Title
c

chilly-hairdresser-56259

05/21/2020, 4:02 AM
Does pulumi-docker for python not support image creation and push?
f

faint-table-42725

05/21/2020, 4:17 AM
Since this was just added and a new version hasn’t been cut, you could use the alpha build off this
Silly question, but I have to double check given the error above… is
docker
on your path?
c

chilly-hairdresser-56259

05/27/2020, 3:34 AM
I think I got it working now, it was the
env
f

faint-table-42725

05/27/2020, 3:34 AM
awesome
c

chilly-hairdresser-56259

06/02/2020, 2:35 PM
@faint-table-42725 I am working with the Alpha Image() class and having a hard time tieing the image_name for the Task Definition. Meaning within the
container_definition
it needs to be a supplied json string, which I build using
json.dumps()
, when referencing
image.image_name
I do not think the actual string value of
image_name
is being passed as ecr provides
Container.Image has invalid characters
, however locally the image was build successfully.
If I build it dynamically such as this, it works:
'image': '%s.dkr.ecr.%<http://s.amazonaws.com/%s/%s-ui:latest|s.amazonaws.com/%s/%s-ui:latest>' % (account.account_id, current.name, p_env, p_application )
however I dont want to use a static tag, rather use the dynamic tag generated from pulumi.
f

faint-table-42725

06/02/2020, 4:22 PM
I’m not sure I quite understand — can you please show me how you construct the JSON you’re trying to pass in?
Oh, I see you asked in the channel itself