Personal-files request for ami-deprecation-tool

The ami-deprecation-tool snap is a tool to deprecate and delete images from EC2. For that, access to the EC2 API is required. And the configuration/credentials to have access is stored under $HOME/.aws . That’s why ami-deprecation-tool requires read access to that directory. The plugs looks like:

plugs:
  dot-aws-config:
    interface: personal-files
    read:
    - $HOME/.aws/config
  dot-aws-credentials:
    interface: personal-files
    read:
    - $HOME/.aws/credentials
  dot-aws-models:
    interface: personal-files
    read:
    - $HOME/.aws/models

Please see the following for past requests on our other tools with identical permissions for similar reasons:

Hi @ryan, are you looking for auto-connect or manual-connect for these personal-files interfaces?

Hi @cav I’d like auto-connect for these files

Given that the description contains a clear note saying this is a canonical snap and the resaoning discussed in the linked topics, +1 for auto-connecting these personal-files interfaces from me

+1 from me as well for auto-connection of all 3 personal-files interfaces

+2 votes for, 0 votes against, granting auto-connect of interfaces dot-aws-config, dot-aws-credentials, dot-aws-models to snap ami-deprecation-tool. I have vetted the publisher. This is now live.