我有两个账户 AWS:DEV 和 PRD。我需要CodeCommit在 PRD 帐户上设置。我先在 DEV 上测试。它运作良好。DEV 和 PRD 都在欧盟(爱尔兰)地区设置了 CodeCommit。然后我将所有策略从 DEV 克隆到 PRD 帐户。
当我试图克隆回购CodeCommit在珠三角的帐户,我有一个这样的问题:
fatal: unable to access 'URL xxx': The requested URL returned error: 403。
在我研究时,我检查了 git 和 curl 版本。Git 版本是git version 2.14.4
,curl 版本是curl 7.53.1 (x86_64-redhat-linux-gnu) libcurl/7.53.1 NSS/3.28.4 zlib/1.2.8 libidn2/0.16 libpsl/0.6.2 (+libicu/50.1.2) libssh2/1.4.2 nghttp2/1.21.1
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN …