File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ awspub :
2+ source :
3+ path : " image.vmdk"
4+ architecture : " x86_64"
5+ s3 :
6+ bucket_name : " awspub-toabctl"
7+ images :
8+ " my-custom-image " :
9+ boot_mode : " uefi-preferred"
10+ share :
11+ - " 123456789123"
12+ - " aws-cn:456789012345"
Original file line number Diff line number Diff line change @@ -187,6 +187,18 @@ The image needs to be created and then published:
187187 awspub create config.yaml
188188 awspub publish config.yaml
189189
190+ Sharing images
191+ ~~~~~~~~~~~~~~
192+
193+ Images can be shared with other AWS accounts. For that, the account IDs of the other accounts are needed.
194+
195+ .. literalinclude :: ../config-samples/config-minimal-share.yaml
196+ :language: yaml
197+
198+ In the above example, the image `my-custom-image ` will be shared with the account `1234567890123 `
199+ when `awspub ` runs in the commercial partition (``aws ``, the default). It'll be shared
200+ with the account `456789012345 ` when `awspub ` runs in the the china partition (``aws-cn ``).
201+
190202AWS Marketplace
191203~~~~~~~~~~~~~~~
192204
You can’t perform that action at this time.
0 commit comments