-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
kind/bugSome behavior is incorrect or out of specSome behavior is incorrect or out of spec
Description
Hello!
- Vote on this issue by adding a 👍 reaction
- To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)
Issue details
The functions new postgres.Role and new postgres.Database do not check if the resource has been deleted manually. Not even with the -r argument (ie pulumi preview -r).
Steps to reproduce
- Provision a role and database
const role = new postgres.Role(
"myrole",
{
name: "myrole",
login: true,
password: password,
},
{ provider }
);
const database = new postgres.Database(
"mydatabase",
{
name: role.name,
owner: role.name,
},
{
provider,
}
);
- Delete the ROLE and the DATABASE manually
- Run
pulumi preview -r
Expected: Pulumi should try to recreate the resources
Actual: Pulumi doesn't try to recreate the resources
wawaberry, lhemala, pklebaner, niclo, rafalsytek and 5 more
Metadata
Metadata
Assignees
Labels
kind/bugSome behavior is incorrect or out of specSome behavior is incorrect or out of spec