Skip to content

Commit

Permalink
Fix typo in query
Browse files Browse the repository at this point in the history
  • Loading branch information
ha7315 committed Apr 2, 2024
1 parent d394f10 commit caa1d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/create-rds-postgres-tester/ssm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "aws_ssm_parameter" "postgres_create_tester_user_sql" {
DO
$do$
BEGIN
IF EXISTS (SELECT FROM pg_catalog.pg_roles WHERE rolename = 'tester')
IF EXISTS (SELECT FROM pg_catalog.pg_roles WHERE rolname = 'tester')
then
RAISE NOTICE 'Role "tester" already exists. Skipping.';
else
Expand Down

0 comments on commit caa1d4b

Please sign in to comment.