Skip to content

Extension that automatically fills the confirmation message to delete a resource in AWS console

License

Notifications You must be signed in to change notification settings

BourgoisMickael/aws-console-autofill-delete

Repository files navigation

logo

AWS Console autofill delete

Chrome Extension Mozilla Add-on

Tired of filling the deletion confirmation modal to delete a resource on AWS console ? This extension automatically fills the input for you. And it works in any language.

Demo

The automatic filling is implemented for more than 25 services, including:

  • Access Analyzer
  • ACM
  • Api Gateway
  • AppFlow
  • Athena
  • CloudWatch
  • Cognito
  • Config
  • DocumentDB
  • DynamoDB
  • EC2
  • ECR
  • EFS
  • Elastic Beanstalk
  • EventBridge
  • IAM
  • Kinesis (Firehose & Analytics)
  • KMS
  • Lambda
  • Route53
  • S3
  • Service Catalog
  • Single Sign-On
  • SNS
  • SQS
  • VPC
  • QLDB
  • WAF

More services are to come. You can open an issue or contribute if you'd like a service to be implemented.

Sometimes AWS updates their interfaces and the extension might stop working for some services. If this is the case, let me know so I can update the extension.


Description

The extension use MutationObserver to listen for mutation in the page. Whenever the DOM changes, querySelector tries to find the input in a modal and the text to fill in that input.


Building

npm run build

The built extension is located in build/chrome.zip and build/firefox.zip.

Development

Here is how you can test the extension during development

Chrome

Go to chrome://extensions, toggle Developer mode and click on Load unpacked, then select the folder build/chrome/.

Firefox

Go to about:debugging#/runtime/this-firefox, click on Load Temporary Add-on and select either build/firefox.zip or any file in build/firefox/.


Testing

You need an AWS account, then complete the file cypress.env.json like this:

{
  "baseDomain": "YOUR_ACCOUNT_ALIAS",
  "username": "IAM_USERNAME",
  "password": "IAM_PASSWORD",
  "region": "eu-west-3"
}

To deploy required resources and run tests:

$ ./deploy.sh
$ npm i
$ npm run test:chrome
$ npm run test:firefox

About

Extension that automatically fills the confirmation message to delete a resource in AWS console

Topics

Resources

License

Stars

Watchers

Forks