-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
enhancementAn improvement of an existing featureAn improvement of an existing feature
Description
Describe the current behavior
AWS CodeCommit is back from the dead returning to GA.
CodeCommit uses AWS SigV4 to inject a username and password into the URL to access the git repository via HTTPS.
Describe the proposed behavior
Modeling this after the other Git credential blocks, it would be trivial to implement the ability to clone the git repo. AWS git-remote-codecommit already has a usable model implementation: https://github.com/aws/git-remote-codecommit/blob/5ed175190c584bef20eceb84c1eb5aaafec22cf7/git_remote_codecommit/__init__.py#L188-L233
Example Use
In prefect.yaml, a user would be able to define this block for the credentials:
pull:
- prefect.deployments.steps.git_clone:
repository: https://git-codecommit.us-east-1.amazonaws.com/v1/repos/my-repo
credentials: "{{ prefect.blocks.aws-codecommit-credentials.my-codecommit-credentials-block }}"Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementAn improvement of an existing featureAn improvement of an existing feature