straight-cat-87033
05/08/2023, 8:34 PMclass PermissionedDockerRegistry(
ResourceGroup
):
repository = gcp.artifactregistry.Repository(
location="US",
format="DOCKER",
)
iam_policy = gcp.artifactregistry.RepositoryIamPolicy(
location="US",
repository=repository.id,
policy_data=policy.policy_data
)
Ultimately, the benefit of using components for grouping doesn’t seem to outweigh the complexity so I will probably avoid using them for most cases, but I thought I would share in case others find the approach useful