Skip to content

feat: Add Support for ECR Public Repositories#2645

Merged
kodiakhq[bot] merged 9 commits into
cloudquery:mainfrom
bbernays:ecrpublic
Oct 12, 2022
Merged

feat: Add Support for ECR Public Repositories#2645
kodiakhq[bot] merged 9 commits into
cloudquery:mainfrom
bbernays:ecrpublic

Conversation

@bbernays
Copy link
Copy Markdown
Collaborator

Summary

a few notes:

  • api.ecr-public is not in the AWS manifest file we use for determining regional availability so had to update the generation file (don't love the solution but open to changing/replacing it with something else)
  • Adds support for repositories (and images)... Once ECR Registries is merged we can add support for public registries as the gen + fetch + mock code is nearly identical

@cq-bot cq-bot added the aws label Oct 11, 2022
@bbernays bbernays changed the title Ecrpublic feat: Add Support for ECR Public Repositories Oct 11, 2022
@bbernays bbernays linked an issue Oct 11, 2022 that may be closed by this pull request
Comment thread plugins/source/aws/client/data/partition_service_region.json
"us-east-1": {},
"us-west-2": {},
},
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see this now. Cool cool cool. I think this is fine, ignore my previous comment.

@hermanschaaf
Copy link
Copy Markdown
Contributor

Looks good, but there's a conflict now: docs will need to be regenerated after merging main into this branch.

}

if _, ok := data.Partitions["aws"].Services["api.ecr-public"]; ok {
panic("api.ecr-public has been added to the list and code should be updated")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this approach

@bbernays bbernays added the automerge Automatically merge once required checks pass label Oct 12, 2022
@kodiakhq kodiakhq Bot merged commit 0e5d974 into cloudquery:main Oct 12, 2022
kodiakhq Bot pushed a commit that referenced this pull request Oct 12, 2022
🤖 I have created a release *beep* *boop*
---


## [2.5.0](plugins-source-aws-v2.4.0...plugins-source-aws-v2.5.0) (2022-10-12)


### Features

* Add Support for ECR Public Repositories ([#2645](#2645)) ([0e5d974](0e5d974))
* **aws:** Add Column for WAFRegional for ListResourcesForWebACL ([#2648](#2648)) ([5c7dfed](5c7dfed))


### Bug Fixes

* **deps:** Update plugin-sdk for aws to v0.13.6 ([#2717](#2717)) ([0fba29f](0fba29f))
* Fix multiplexer for AWS Organizations ([#2727](#2727)) ([21bb98e](21bb98e))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@bbernays bbernays deleted the ecrpublic branch November 4, 2022 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(aws): ecrpublic

4 participants