diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml deleted file mode 100644 index 0421b55..0000000 --- a/.github/workflows/validate.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: validate - -on: - push: - branches: - - main - pull_request: - branches: - - main - -jobs: - validate: - uses: trussworks/shared-actions/.github/workflows/validate-tf.yml@main diff --git a/README.md b/README.md index 8aecd9e..9224427 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -Creates an AWS Lambda function to clean up manual RDS snapshots -on a scheduled interval using [truss-aws-tools](https://github.com/trussworks/truss-aws-tools). +Creates an AWS Lambda function to clean up manual RDS snapshots +on a scheduled interval using [milmove-aws-tools](https://github.com/transcom/milmove-aws-tools). Creates the following resources: * IAM role for Lambda function find and delete expired RDS snapshots for a defined RDS instance. -* CloudWatch Event to trigger Lambda function on a schedule. +* CloudWatch Events to trigger Lambda function on a schedule. * AWS Lambda function to actually delete excess manual RDS snapshots. @@ -13,8 +13,8 @@ Creates the following resources: ```hcl module "rds-snapshot-cleaner" { - source = "trussworks/rds-snapshot-cleaner/aws" - version = "1.0.0" + source = "transcom/rds-snapshot-cleaner/aws" + version = "4.0.3" cleaner_db_instance_identifier = "app-staging" cleaner_dry_run = "false" @@ -24,7 +24,7 @@ module "rds-snapshot-cleaner" { environment = "staging" interval_minutes = "5" s3_bucket = "lambda-builds-us-east-1" - version_to_deploy = "2.6" + version_to_deploy = "3.1" } ``` diff --git a/main.tf b/main.tf index 23f004e..754d240 100644 --- a/main.tf +++ b/main.tf @@ -1,5 +1,5 @@ locals { - pkg = "truss-aws-tools" + pkg = "milmove-aws-tools" name = "rds-snapshot-cleaner" }