Comments (1)
In my experience the AMI ID changes in that you have two ami's in the destination account
==> amazon-ebs.windows-base-image (ami-copy): [us-east-1] Copying ami-<id-generated-by-packer> to account <accountid> (encrypted: false)
==> amazon-ebs.windows-base-image (ami-copy): Going to wait for image to be in available state
==> amazon-ebs.windows-base-image (ami-copy): Waiting one minute (1/30) for AMI to become available, current state: pending for image ami-0b8cc040176c68a2b on account 504055967630
==> amazon-ebs.windows-base-image (ami-copy): Waiting one minute (2/30) for AMI to become available, current state: pending for image ami-0b8cc040176c68a2b on account 504055967630
==> amazon-ebs.windows-base-image (ami-copy): Waiting one minute (3/30) for AMI to become available, current state: pending for image ami-0b8cc040176c68a2b on account 504055967630
==> amazon-ebs.windows-base-image (ami-copy): Waiting one minute (4/30) for AMI to become available, current state: pending for image ami-0b8cc040176c68a2b on account 504055967630
==> amazon-ebs.windows-base-image (ami-copy): Waiting one minute (5/30) for AMI to become available, current state: pending for image ami-0b8cc040176c68a2b on account 504055967630
==> amazon-ebs.windows-base-image (ami-copy): [us-east-1] Finished copying ami-<id-generated-by-packer> to <accountid> (copied id: ami-<new-id>)
In that the original AMI generated is copied over to the destination account with the same id but without tags, this image has the source account listed as the owner. This happens in packer now when you use https://www.packer.io/docs/builders/amazon/ebs#ami_users and the snapshot modification attribute.
Then there is the image the plugin creates with the tags denoted by ami-<new-id>
which has the source as the destination account itself.
So you essentially get two AMIs in the destination accounts specified by target account id
from packer-plugin-ami-copy.
Related Issues (15)
- Copy tasks should check for AMIs to become available in target account(s) HOT 1
- Cross region copy
- New Release HOT 2
- Release v1.9.0 missing file extensions HOT 2
- filename is not correct in v1.9.4 for linux amd64 HOT 2
- allow disable
- Plugin cannot be used because the name has packer in it HOT 11
- Protocol issue with Packer 1.7 HOT 4
- It would be nice to give an organization unit (OU) instead of a list of `ami_users` HOT 1
- Unexpected EOF HOT 1
- amazon-import not supported?
- The docs/ and examples/ link in the Readme return 404 HOT 2
- [Feature request] AMI Copy with encryption HOT 1
- Which AWS permissions do I need to give to make the copy and tagging work. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-plugin-ami-copy.