我已将我的最后一项工作推送到存储库,但是,当我尝试部署时,出现此错误:
$ eb deploy myapp -v
Password:
INFO: Deploying code to myapp in region us-east-1
INFO: Getting version label from git with git-describe
INFO: Pushing local code to codecommit with git-push
INFO: Creating AppVersion app-V-2_0-90-g57b9-181013_080409
ERROR: InvalidParameterValueError - "Error making request to CodeCommit: Could not retrieve 57b9246856a66460a7d04161d3f107f0553ac6ce (Service: AWSCodeCommit; Status Code: 400; Error Code: CommitIdDoesNotExistException; Request ID: 6d67928b-cea5-11e8-8620-d3a635300337)"
Run Code Online (Sandbox Code Playgroud)
我怎样才能InvalidParameterValueError像上面的错误一样获得更多的细节?
什么CommitIdDoesNotExistException意思?我已经推送了我的最新提交。
任何的想法?
我的本地笔记本电脑是Mac.
正确配置了ssh密钥.这是〜/ .ssh/config的内容
Host barthea
Hostname git-codecommit.us-east-1.amazonaws.com
User AVVVVVVVVVVVVVVVVVQ
IdentityFile ~/.ssh/aws-aws.pem
跑ssh barthea得到了我
`You have successfully authenticated over SSH. You can use Git to interact with AWS CodeCommit. Interactive shells are not supported.Connection to git-codecommit.us-east-1.amazonaws.com closed by remote host.
Run Code Online (Sandbox Code Playgroud)
`2.我创建了一个带有密码和访问密钥的IAM用户bruce666,使该用户成为"团队"组的一部分.然后我创建了一个包含"AWSCodeCommitPowerUsers"的策略,并将此策略分配给"团队".最后将bruce666分配给"团队".此时,bruce666可以通过管理控制台访问CodeCommit中的任何仓库.
我运行了aws config --profile bruce666,用他的访问和密钥,他的区域和json指定格式.此时,我能够通过运行aws codecommit get-repository --repository-name rekha --profile bruce666在CodeCommmit中创建rekha repo.
我可以创建几个虚拟文件,运行git init,git add.,git的承诺-m"1",GIT中添加初始https://git-gitcode.amzonaws.com/repos/v1/rekha,混帐推-u主产地和该动作会成功.
但是,当我运行git clone ssh://git-gitcode.amazonaws.com/repos/v1/rekha时,我得到"致命:无法访问" https://git-codecommit.us-east-1.amazonaws. com/v1/repos/barthia / ':请求的URL返回错误:403"是什么给出的?
我是AWS世界的新手,我正在为我工作的公司实施持续交付.
我按照此说明配置CodeCommit服务:http://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-windows.html#setting-up-https-windows-account
步骤1:AWS CodeCommit的初始配置
创建和配置IAM用户以访问AWS CodeCommit:我创建了一个新的IAM用户并给了他AWSCodeCommitFullAcess
安装和配置AWS CLI:我安装并配置了执行aws configure的凭据(将AWS Access Key ID,AWS Secret Access Key,默认区域名称设置为us-east-1和de
步骤2:安装Git 我为Windows安装了GIT,确保清除了Enable Git Credential Manager选项.
第3步:设置凭证助手 我执行以下命令:
git config --global credential.helper "!aws codecommit credential-helper $@"
git config --global credential.UseHttpPath true
Run Code Online (Sandbox Code Playgroud)
执行:
git config --global --edit
Run Code Online (Sandbox Code Playgroud)
我有:
[http]
sslVerify = false
[credential]
helper ="aws codecommit list-repositories codecommit credential-helper"
UseHttpPath = true
第4步:连接到AWS CodeCommit控制台并克隆存储库
$ git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/teste-git-to-s3<br>
Cloning into 'teste-git-to-s3'...<br>
git: 'credential-aws' is not a git command. See 'git --help'.<br>
Username …Run Code Online (Sandbox Code Playgroud) 我是aws cloudformation的新手; 我想知道是否有人知道一种强制删除堆栈的方法,当它不会删除时.它失败并出现此错误:
Failed to delete stack: Role arn:aws:iam::role/CloudFormationRole-NestedCFN-CodePipeline is invalid or cannot be assumed
Run Code Online (Sandbox Code Playgroud)
当我尝试删除嵌套的子堆栈而不是首先删除父堆栈时,通常会发生此错误.如果我不小心删除了父堆栈,有没有办法删除嵌套堆栈?
amazon-web-services aws-cloudformation aws-codecommit aws-codepipeline
AWS CodeCommit中的Pull Requests是否有类似的概念或解决方法?我正在尝试使用CodeCommit存储库来实现CI,并帮助我们避免在我们的存储库中出现问题(master分支应始终编译并成功运行所有测试).
我正在尝试使用 SSH 连接到 AWS CodeCommit。我已遵循本指南中的每一步:
但是当我到达需要运行以下命令的位置时
ssh MY-SSH-KEY@git-codecommit.us-east-2.amazonaws.com
Run Code Online (Sandbox Code Playgroud)
我收到这个错误
无法与 52.95.17.51 端口 22 协商:未找到匹配的主机密钥类型。他们的报价:ssh-rsa
我正在尝试从我们的私有代码提交中克隆一个存储库,我有必要的访问权限,但是每当我尝试在本地克隆时,我都会收到错误消息:
git clone codecommit::us-east-1://my-repo-name
fatal: unable to find remote helper for 'codecommit'
Run Code Online (Sandbox Code Playgroud)
我之前遇到过远程助手错误,但对于可以通过 ssh 密钥解决的 https,但这是我第一次看到这个错误。
我使用 Windows 并尝试使用 git-remote-codecommit。
使用 git-remote-codecommit HTTPS 连接到 AWS CodeCommit 的步骤。
https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-git-remote-codecommit.html
获取时,此错误显示:
git clone codecommit://MyRepositoryName
git: 'remote-codecommit' is not a git command. See 'git --help'
Run Code Online (Sandbox Code Playgroud)
请帮忙..
我是AWS CodePipeline的新手,从未有过像Jenkins等任何持续集成工具的经验.我创建了一个新的AWS CodePipeline 作为AWS CodeCommit(代码库) - > CodeBuild(不是docker,环境是NodeJS 7) - > AWS CodeDeploy.一切都在AWS上.它是一个Angular2项目,最终部署在EC2实例上(Windows server 2008).从我的本地机器,我能够通过活动的IAM用户(Git访问)将我的代码提交到AWS CodeCommit,然后我可以看到CodePipleline开始运行,其中Source很好(绿色)但下一步即构建失败(红色颜色).当我点击它的详细信息时,我可以看到以下错误日志: -
https://forums.aws.amazon.com/ 2016/12/23 18:21:16等待代理商 https://forums.aws.amazon.com/ 2016/12/23 18:21:36阶段是DOWNLOAD_SOURCE https://forums.aws.amazon.com/ 2016/12/23 18:21:38阶段完成:DOWNLOAD_SOURCE成功:false https://forums.aws.amazon.com/ 2016/12/23 18:21: 38阶段上下文状态代码:YAML_FILE_ERROR消息:YAML文件不存在 https://forums.aws.amazon.com/ 2016/12/23 18:21:38运行时错误(YAML文件不存在)
有人可以指导我这个错误吗?我不知道这个YAML文件意味着什么.我用谷歌搜索,但在我的NodeJS Angular项目中找不到任何相关内容.
谢谢你,Vinod Kumar
git amazon-ec2 aws-codecommit aws-codepipeline aws-codebuild
我正在将我的系统设置为代码提交。但出现以下错误
我点击了以下链接: https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-ssh-windows.html
/c/Users/Prasanna/.ssh/config:第 1 行:错误的配置选项:\377\376h /c/Users/Prasanna/.ssh/config:终止,1 个错误的配置选项
这是配置文件主机 git-codecommit.*.amazonaws.com 用户 ******** IdentityFile ~/.ssh/codecommit_rsa
我是否缺少任何配置?