Skip to content

This GitHub Action removes the geolocation records of a domain in AWS Route 53 and leaves only the default one, using AWS CLI.

License

Notifications You must be signed in to change notification settings

saif-qureos/r53-remove-bulk-geo-records

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Route 53 Geolocation Remover

This GitHub Action removes the geolocation records of a domain in AWS Route 53 and leaves only the default one, using AWS CLI.

Inputs

  • aws-access-key-id (Required): The AWS access key ID with the necessary permissions to make changes in Route 53.
  • aws-secret-access-key (Required): The AWS secret access key for the given access key ID.
  • aws-region (Required): The AWS region where the Route 53 hosted zone is located.
  • route53-hosted-zone-id (Required): The ID of the Route 53 hosted zone where the domain is registered.
  • domain-name (Required): The domain name to update the geolocation records for.
  • load-balancer-dns (Required): The DNS name of the load balancer to be used as the value for the geolocation records.

Example Usage

name: Remove Geolocation Records

on:
  push:
    branches: [ main ]

jobs:
  remove-geolocation-records:
    runs-on: ubuntu-latest
    steps:
    - name: Remove Geolocation Records
      uses: saif-qureos/aws-route53-geolocation-updater@v1.0
      with:
        aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
        aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
        aws-region: us-east-1
        route53-hosted-zone-id: ZXXXXXXXXXXXXXX
        domain-name: example.com
        load-balancer-dns: my-load-balancer.us-east-1.elb.amazonaws.com

About

This GitHub Action removes the geolocation records of a domain in AWS Route 53 and leaves only the default one, using AWS CLI.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published