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

Pre-setting primaryResourceIdentifier. #46

Closed jonjara closed 4 years ago

jonjara commented 4 years ago

Description of changes:

Retries are not happening because of Create handler did not return the primaryIdentifier for the physical resource.. The service was returning a 404 during stabilization but threw this error because the primaryIdentifier was not set yet. Setting before the chain prevents this from happening

Testing

I submitted this on my personal account and stabilize retried as a expected when a 404 was returned.

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