我試圖將使用打包器的自定義內置ami從一個AWS賬戶複製到另一個AWS賬戶;不過,我能夠在一個帳戶內複製跨區域的艾滋病。如何將AMI從一個aws賬戶複製到其他aws賬戶?
"builders": [{ "account_id": "12345678910", "s3_bucket": "xyz/xqas/asd", "x509_cert_path": "/Users/txyz/packer/certificate.pem", "x509_key_path": "/Users/txyz/packer/private-key.pem", "type": "amazon-instance", "access_key": "{{user
access_key }}", "secret_key": "{{user
SECRET_KEY }}", "region": "us-east-1", "source_ami": "ami-452bd728", "instance_type": "r3.xlarge", "ssh_username": "ubuntu", "ami_name": "packer-test-hvm {{timestamp}}", "ami_virtualization_type": "hvm", "force_deregister": true, "ami_regions": ["us-east-1", "us-west-2"] }],
我有其他帳戶的詳細信息..! –
通過AWS儀表板很容易 – error2007s
我想通過cli自動完成任務,ami_users怎麼樣....任何嘗試使用tat的? –