https://pulumi.com logo
Title
a

adventurous-lighter-33507

01/20/2021, 7:48 PM
Hello, I am trying to create an AWS ECR in Python that has the visibility set to 'public', but i am not seeing anything in the API that looks like it will set that value, what would I need to adjust about this snippet to accomplish that?
from pulumi_aws import ecr
image_name="my_image"
repo = ecr.Repository(f"my_repo/{image_name}")
b

billowy-army-68599

01/20/2021, 7:52 PM
it's actually a different resource in the provider and it hasn't been merged upstream yet, unfortunately
a

adventurous-lighter-33507

01/20/2021, 7:57 PM
ok, is there a branch I can view those changes on for reference? I believe i can create ad-hoc resources, so I should be able to work around this... right?
b

billowy-army-68599

01/20/2021, 8:18 PM
you can create a dynamic provider if you need to just API calls