No you should use only one of them. (source_ami will take precedence over source_ami_filters).
On Tue, Jun 18, 2019, 08:23 mounika n <[email protected]> wrote: > If we use source_ami, is it necessary to give source_ami_filters? > > On Tuesday, June 18, 2019 at 11:44:46 AM UTC+5:30, Rickard von Essen wrote: >> >> Just reference the custom AMI in source_ami. >> >> See https://packer.io/docs/builders/amazon-ebs.html#source_ami >> >> On Tue, Jun 18, 2019, 07:20 mounika n <[email protected]> wrote: >> >>> I'm trying to install software through packer and ami is created out of >>> it. This ami I want to use as source ami in packer code so that I can >>> install another software on top of that ami rather than using the default >>> ami. Can anyone suggest how to achieve this? >>> >>> -- >>> This mailing list is governed under the HashiCorp Community Guidelines - >>> https://www.hashicorp.com/community-guidelines.html. Behavior in >>> violation of those guidelines may result in your removal from this mailing >>> list. >>> >>> GitHub Issues: https://github.com/mitchellh/packer/issues >>> IRC: #packer-tool on Freenode >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Packer" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/packer-tool/218a0a53-bd48-4523-af3b-18b5ca587afa%40googlegroups.com >>> <https://groups.google.com/d/msgid/packer-tool/218a0a53-bd48-4523-af3b-18b5ca587afa%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/dfedff16-c804-4d77-9aea-534f0d5ab68e%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/dfedff16-c804-4d77-9aea-534f0d5ab68e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt-eW4obS1xJjyvjDSrmmUzDgRK4YsOEG04GqqVPyh%2Bqiw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
