https://github.com/sashee/rds-run-sql
Example code to show how to run SQL statements against RDS's Data API as part of Terraform apply
https://github.com/sashee/rds-run-sql
aws rds terraform
Last synced: over 1 year ago
JSON representation
Example code to show how to run SQL statements against RDS's Data API as part of Terraform apply
- Host: GitHub
- URL: https://github.com/sashee/rds-run-sql
- Owner: sashee
- Created: 2022-06-06T17:21:48.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-06T18:20:26.000Z (about 4 years ago)
- Last Synced: 2025-01-29T13:47:59.540Z (over 1 year ago)
- Topics: aws, rds, terraform
- Language: HCL
- Homepage: https://advancedweb.hu/how-to-run-sql-scripts-against-the-rds-data-api-with-terraform/
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example code to show how to run SQL statements against RDS's Data API as part of Terraform apply
During ```terraform apply``` the contents of the initial.sql file is run against the newly created database.