Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: AWS RDS #180

Merged
merged 62 commits into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
6baee8b
feat: simple RDS support
chesedo May 13, 2022
008b204
refactor: cleanup and prep
chesedo May 13, 2022
5fbff83
feat: Simple AWS RDS Postgres tuple
chesedo May 13, 2022
e743f3d
feat: MySql and MariaDB support
chesedo May 18, 2022
90d9103
refactor: add engine to DB info
chesedo May 16, 2022
4e0adc5
refactor: 'master' for username
chesedo May 16, 2022
6e20ccf
refactor: clippy suggestions
chesedo May 19, 2022
6e244c5
refactor: better debug logs
chesedo May 19, 2022
366d583
refactor: set region
chesedo May 19, 2022
9d9c2a0
refactor: increase tracing
chesedo May 19, 2022
2b541dc
refactor: try more timeouts
chesedo May 19, 2022
b6bd166
refactor: try manual profile
chesedo May 19, 2022
3ed7c8b
refactor: try manual imds provider
chesedo May 19, 2022
c7444f3
refactor: try manual client
chesedo May 19, 2022
268dcbb
refactor: set read timeout
chesedo May 20, 2022
17c61fa
refactor: try endpoint override
chesedo May 20, 2022
966c233
refactor: trying aws update
chesedo May 20, 2022
c206d5a
refactor: finally found it
chesedo May 20, 2022
310f833
refactor: remove region
chesedo May 20, 2022
ed6ee42
bug: increase hop limit
chesedo May 20, 2022
589487f
feat: add policy to handle RDS
chesedo May 20, 2022
537a18c
refactor: try subnet group
chesedo May 20, 2022
25d8ada
refactor: more permission fixes
chesedo May 20, 2022
0023a18
feat: add rds subnet
chesedo May 20, 2022
f26519a
refactor: cleanup
chesedo May 20, 2022
1aab7a4
feat: switch to attribute annotation
chesedo May 23, 2022
e21e005
refactor: move to aws::rds
chesedo May 23, 2022
ff6cbef
feat: aws::rds example
chesedo May 23, 2022
f088eff
refactor: move to shared::Postgres
chesedo May 23, 2022
0c550e0
refactor: improve rds waiting
chesedo May 24, 2022
cca3a59
feat: open acl ports for acl
chesedo May 24, 2022
9f8f4ac
bug: running tokio inside tide (async-std)
chesedo May 24, 2022
9bf234b
docs: service configuration using attributes
chesedo May 24, 2022
f7950e9
bug: fix uuid/v4 in test
chesedo May 24, 2022
9de5977
refactor: clippy suggestions
chesedo May 24, 2022
428f1d7
tests: update sqlx tests
chesedo May 24, 2022
74fc059
refactor: make attribute config required
chesedo May 24, 2022
689ed27
refactor: make transition error better
chesedo May 24, 2022
c8dc739
tests: trybuild
chesedo May 30, 2022
8506b0b
refactor: better hints
chesedo May 30, 2022
ad00744
refactor: builders vec
chesedo May 30, 2022
b95ac5a
refactor: update examples to main
chesedo May 30, 2022
c592963
refactor: make tf use account id
chesedo May 30, 2022
5a0c8c7
Merge remote-tracking branch 'origin/main' into feat/rds
chesedo Jun 15, 2022
556a455
feat: add AWS RDS to proto
chesedo Jun 15, 2022
5ff3483
feat: local runs for AWS RDS
chesedo Jun 15, 2022
4c54842
refactor: sort Cargo.toml
chesedo Jun 15, 2022
9dea253
tests: provisioner await
chesedo Jun 16, 2022
7b406f2
refactor: undo secrets patch
chesedo Jun 16, 2022
de19f41
refactor: fix pg_isready
chesedo Jun 16, 2022
21f6bf8
refactor: args for public and private PG addresses
chesedo Jun 16, 2022
96ac064
refactor: clippy suggestions
chesedo Jun 16, 2022
dec2e23
bug: supervisord args
chesedo Jun 16, 2022
3a9020c
bug: supervisord args v2
chesedo Jun 16, 2022
d56800a
fix: test helper
chesedo Jun 16, 2022
93023ea
bug: security group
chesedo Jun 16, 2022
c513347
refactor: tide postgres version
chesedo Jun 16, 2022
eba0d01
refactor: more helper fixes
chesedo Jun 16, 2022
b7e993d
bug: INTERNAL_ADDRESS
chesedo Jun 16, 2022
33bd7b0
refactor: remove redundant security group link
chesedo Jun 16, 2022
fbb1588
bug: PG timeout
chesedo Jun 16, 2022
b54ae81
Apply suggestions from code review
chesedo Jun 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: increase tracing
  • Loading branch information
chesedo committed May 30, 2022
commit 9d9c2a07fe01a7d5584d702bd318e0b09e6ecc55
1 change: 1 addition & 0 deletions api/src/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ impl State {
}

println!("getting client");
error!("getting client");
let client = &self.context.rds_client;

let password = generate_role_password();
Expand Down
1 change: 1 addition & 0 deletions api/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
async fn rocket() -> Rocket<Build> {
env_logger::Builder::new()
.filter_module("rocket", log::LevelFilter::Warn)
.filter_module("aws_config", log::LevelFilter::Trace)
.filter_module("_", log::LevelFilter::Warn)
.filter_module("api", log::LevelFilter::Debug)
.init();
Expand Down