Skip to content

Commit 8bea027

Browse files
Fyst 2327/revert failed iam auth (#246)
1 parent 4cb7088 commit 8bea027

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

Gemfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ group :test do
7676
gem "selenium-webdriver"
7777
end
7878

79-
# Enable IAM RDS
80-
gem "pg-aws_rds_iam"
81-
8279
gem "dartsass-rails", "~> 0.5.1"
8380
gem "http_accept_language"
8481
gem "twilio-ruby"

Gemfile.lock

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ GEM
9696
execjs (~> 2)
9797
aws-eventstream (1.4.0)
9898
aws-partitions (1.1178.0)
99-
aws-sdk-core (3.239.2)
99+
aws-sdk-core (3.235.0)
100100
aws-eventstream (~> 1, >= 1.3.0)
101101
aws-partitions (~> 1, >= 1.992.0)
102102
aws-sigv4 (~> 1.9)
@@ -107,9 +107,6 @@ GEM
107107
aws-sdk-kms (1.115.0)
108108
aws-sdk-core (~> 3, >= 3.234.0)
109109
aws-sigv4 (~> 1.5)
110-
aws-sdk-rds (1.302.0)
111-
aws-sdk-core (~> 3, >= 3.239.1)
112-
aws-sigv4 (~> 1.5)
113110
aws-sdk-s3 (1.202.0)
114111
aws-sdk-core (~> 3, >= 3.234.0)
115112
aws-sdk-kms (~> 1)
@@ -320,9 +317,6 @@ GEM
320317
pg (1.6.2-x86_64-darwin)
321318
pg (1.6.2-x86_64-linux)
322319
pg (1.6.2-x86_64-linux-musl)
323-
pg-aws_rds_iam (0.7.0)
324-
aws-sdk-rds (~> 1.0)
325-
pg (~> 1.1)
326320
phony (2.22.5)
327321
pp (0.6.3)
328322
prettyprint
@@ -605,7 +599,6 @@ DEPENDENCIES
605599
mailgun-ruby
606600
openssl (>= 3.3.1)
607601
pg
608-
pg-aws_rds_iam
609602
phony
610603
propshaft
611604
pry-byebug

config/database.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ deploy_default: &deploy_default
2424
database: prior_year_access
2525
host: <%= ENV["DATABASE_HOST"] if ENV["DATABASE_USER"] %>
2626
username: <%= ENV["DATABASE_USER"] if ENV["DATABASE_USER"] %>
27-
aws_rds_iam_auth_token_generator: 'default'
27+
password: <%= ENV["DATABASE_PASSWORD"] if ENV["DATABASE_PASSWORD"] %>
28+
url: <%= ENV["DATABASE_URL"] %>
2829

2930
# Store production database in the storage/ directory, which by default
3031
# is mounted as a persistent Docker volume in config/deploy.yml.
@@ -42,4 +43,4 @@ production:
4243
migrations_paths: db/cable_migrate
4344

4445
staging:
45-
<<: *deploy_default
46+
<<: *deploy_default

0 commit comments

Comments
 (0)