Reputation: 1
the error I am getting is as follows
enter image description here
the database.js file is as follows
'''js
const path = require("path");
module.exports = ({ env }) => ({
connection: {
client: "postgres",
connection: {
host: env("DB_HOST", "127.0.0.1"),
port: env.int("DB_PORT", 5432),
database: env("DB_NAME", "strapi"),
user: env("DB_USERNAME", ""),
password: env("DB_PASSWORD", ""),
},
useNullAsDefault: true,
},
});
'''
plugin.js file as follows
'''js
module.exports = ({ env }) => ({
graphql: {
enabled: true,
config: {
// set this to true if you want to enable the playground in production
playgroundAlways: true,
},
},
upload: {
provider: "aws-s3",
providerOptions: {
accessKeyId: env("AWS_ACCESS_KEY_ID"),
secretAccessKey: env("AWS_SECRET_ACCESS_KEY"),
region: env("AWS_REGION", ""),
params: {
Bucket: env("AWS_BUCKET_NAME"),
},
},
actionOptions: {
upload: {
ACL: null,
},
uploadStream: {
ACL: null,
},
},
},
});
'''
I tried all the methods which makes rds publically accessible, tried changing security group inbound and outbound but nothing worked out
Upvotes: -1
Views: 29