diff --git a/examples/gcp/Makefile b/examples/gcp/Makefile index 7088ca62..d8cfbc12 100644 --- a/examples/gcp/Makefile +++ b/examples/gcp/Makefile @@ -46,7 +46,7 @@ destroy-bootstrap: destroy-postgresql: cd postgresql \ && $(TF) destroy || true \ - && tf state rm module.postgresql.google_sql_user.admin || true \ + && $(TF) state rm module.postgresql.google_sql_user.admin || true \ && $(TF) destroy .PHONY: bootstrap inception platform smoketest postgresql diff --git a/modules/postgresql/gcp/main.tf b/modules/postgresql/gcp/main.tf index 0e496a6b..a96609ca 100644 --- a/modules/postgresql/gcp/main.tf +++ b/modules/postgresql/gcp/main.tf @@ -158,7 +158,6 @@ resource "postgresql_grant" "grant_usage_public_schema_migration_user" { ] } - resource "postgresql_grant" "grant_usage_pglogical_schema_migration_user" { for_each = local.upgradable ? toset(local.migration_databases) : [] database = each.value