aws-cloudformation / aws-cloudformation-resource-providers-codeartifact

The CloudFormation Resource Provider Package for the AWS CodeArtifact service
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeArtifact.html
Apache License 2.0
27 stars 7 forks source link

Fixing creating repositories in other account's domain. #45

Closed jonjara closed 4 years ago

jonjara commented 4 years ago

Description of changes:

I had two accounts and I tried to create a repository in another account's domain and it failed because the request passes in AdministratorAccount which we were deeming invalid. This should not be invalid.

Testing Tested this on my account and it worked

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.