aws-cloudformation / community-registry-extensions

MIT No Attribution
86 stars 27 forks source link

Prod build batch #133

Closed ericzbeard closed 1 year ago

ericzbeard commented 1 year ago

I attempted to use batch builds but ran into a few problems. One is that any resource that requires permissions on AWS resources will still run Test-Type in the prod account in each region before publishing. Doing this simultaneously for a global resource fails contract testing. And also, we quickly hit CodeBuild limits when trying to run several batches simultaneously. CodeBuild doesn't wait for capacity, it just fails builds. So I switched back to sequential publishing, with logic added to the script to track which regions failed and which ones succeeded.